Friday, August 12, 2011

Explain what is the purpose of using EnableViewState property?

  • When a page is postback, then it allows the page to save the users input on a form.
  • It also saves all the server side values as a hidden value on the page before sending that page to the clients for a particular given control in the ViewState.
  • When a page is posted back to the server, at the same time the server control is recreated within the state stored in ViewState.

No comments:

Post a Comment