What does the "EnableViewState" property do? Why would I
want it on or off?
Answer Posted / ganesh
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.
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is a query string in a url?
How tooltip is set through code-behind in ASP.NET?
What is custom events?
What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?
Describe the Server Control Events of ASP.NET?
Describe session handling in a webfarm, how does it work and what are the limits?
Why does my asp.net file have multiple tag with runat=server?
Is redux flux?
Tell me what is the request flow used for asp.net mvc framework? : asp.net mvc
How many types of sessions in asp.net?
What is the difference between the response.write() and response.output.write() methods?
Write some code using interfaces, virtual methods, and an abstract class`
What is a SESSION and APPLICATION object?
Explain the difference between inline and code behind - which is best in?
What does asp in asp.net stand for?