Home > DeveloperSection > Interviews > What does the "EnableViewState" property do? Why do we want it On or Off?

Posted on    September-01-2014 11:29 PM

 ASP.Net ASP.Net 
 1 Answer(s)
  964  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    September-01-2014 12:00 AM

The EnableViewState property enables the ViewState property on the page. It is set to On to allow the page to save the users input between postback requests of a Web page; that is, between the Request and corresponding Response objects. When this property is set to Off, the page does not store the users input during postback.

Don't want to miss updates? Please click the below button!

Follow MindStick