Piyush Maitrey

Piyush Maitrey

  • NA
  • 2
  • 4.4k

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

Feb 29 2012 2:26 PM
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)