What is advantage of viewstate and what are benefits ?
Answer Posted / arunendra shukla
When a form is submitted in classic ASP, all form values are cleared. Suppose you have submitted a form with a lot of information and the server comes back with an error. You will have to go back to the form and correct the information. You click the back button, and what happens.......ALL form values are CLEARED, and you will have to start all over again! The site did not maintain your ViewState.With ASP .NET, the form reappears in the browser window together with all form values.This is because ASP .NET maintains your ViewState. The ViewState indicates the status of the page when submitted to the server.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?
Mention the execution process for managed code?
How do we ensure view state has not tampered?
What is asp.net mvc5? : Asp.Net MVC
What are the uses of list view control in Asp.net?
Which object wraps the state or data of a user?
What is asp net theme?
Explain model, view and controller represent in an mvc application? : asp.net mvc
Difference between singleton and singlecall.
Which protocol is used in a web api?
How many web config files can be created for an application?
What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC
What is the default authentication mode for asp.net?
Where session id is stored?
How you will handle session when deploying application in more than a server?