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
Where is session cookies stored?
What is gridview in asp.net?
What is postback and autopostback in asp.net?
Will session work if cookies is disabled?
Mention few asp.net validators.
Describe the difference between inline and code behind - which is best in?
Can you explain composite pattern?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
How can you pass multiple complex types in Web API?
What is dynamic web page with example?
What is the difference between a multi-layer and multi-tier applications?
How does session authentication work?
How can we register exception filter globally?
What is the difference between the asp and asp.net?
What are session state modes?