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
Explain server side state management system.
Which adapter should you use, if you want to get the data from an access database?
What are the 3 levels at which content pages can be attached to Master Page?
What is server side session?
What is scope of an application variable in asp.net?
Where the cookie value is stored?
How to implement Authentication and Authorization?
Explain State management in asp.net
What is query string with example?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
What is the difference between dynamic SGA and static SGA?
What is difference between web config and global asax?
Difference between response.redirect and server.transfer?
What is asp.net futures?
What are the Difference between asp.net and asp ?