2
Answers

Why ViewState is not created even though EnableViewState = False is set on textbox control?

Piyush Maitrey

Piyush Maitrey

12y
2.6k
1
I have a Web Form with following TextBox Control

<asp:TextBox ID="txt1" runat="server" EnabelViewState = false>
</asp:TextBox>

& a submit button bellow it.But when this form is displayed and as I enter Piyush in textbox & click on submit button.Textbox is not cleared and it displays Piyush.even though I have disabled View Stae For this form 
Answers (2)