What is advantage of viewstate and what are benefits ?
Answer / 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 |
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
What are Master Pages in ASP.NET?
ASP.NET 2.0's new membership API used for creating and managing user account is exposed through which 2 clause?
Explain the differences between Server-side and Client-side code?
What namespace does the Web page belong in the .NET Framework class hierarchy?
Differentiate between client-side and server-side validations in web pages.
what is wwf in asp.net?
How do you create a master page?
Difference between ADO.net Dataset , ADO Record Set & ADO Data Reader?
How would you get asp.net running in apache web servers?
Does asp.net still recognize the global.asa file?
What are Session states available and its Uses?