What is advantage of viewstate and what are benefits ?



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

Post New Answer

More ASP.NET Interview Questions

Explain about Application and Session Events ?

0 Answers  


Suppose i create one application in vs 2008 and it is running in the latest version of IE,will it run in netscape and other browsers with low version?

2 Answers   Wipro,


Explain Authentication mechanism in dotnet

0 Answers   BirlaSoft,


How to authenticate users using web.config ?

1 Answers   Patni,


What is active web page?

0 Answers  






What is custom attribute?

0 Answers  


what is generics?

2 Answers   Microsoft,


What is interval time of GC in .net

2 Answers  


Name the tools or API for developing or testing web api?

0 Answers  


What are the asp.net list controls and difference between them?

0 Answers  


What does the orientation property do in a menu control?

0 Answers  


To which side ( server ? client) does the user input data validation occur? Explain the reasons for it?

1 Answers   Siebel,


Categories