Explain what is the purpose of using EnableViewState property?

 Posted by Tripati_tutu on 11/1/2010 | Category: ASP.NET Interview questions | Views: 2853 | Points: 40

• 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.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response