• +91 9723535972
  • info@interviewmaterial.com

Asp.Net Interview Questions and Answers

Question - What does the "EnableViewState" property do?  Why would I want it on or off?

Answer - It allows the page to save the users input on a form across postbacks.  It saves the server-side values for a given control into ViewState, which is stored as a hidden value on the page before sending the page to the clients browser.  When the page is posted back to the server the server control is recreated with the state stored in viewstate.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners