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

How to send auto matic emails based on scheduled tasks to several of my clients

6 Answers  


What?s the difference between Codebehind="MyCode.aspx.cs" and Src="MyCode.aspx.cs"?

1 Answers   Getit, Siebel, Visual Soft,


What is voluum?

0 Answers  


what are the server controls used in sitepath navigation?

1 Answers  


What is session tracking & methods?

4 Answers   C Squared Systems,






What is the use of autowireup in asp.net?

0 Answers  


Which authentication uses a combination of windows and iis authentication?

0 Answers  


Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?

0 Answers  


Can I stream live content/events?

0 Answers  


What is the difference between and ActiveX dll and control ?

1 Answers   Microsoft,


Which control has default post back is enabled(true)?

0 Answers   Sans Pareil IT Services,


What is ViewState and How it is managed,Its Advantages/Benefits?

4 Answers   Google,


Categories