What is view state in .net?



What is view state in .net?..

Answer / Pramod Kumar Maurya

ViewState in ASP.NET is a server-side mechanism for maintaining the state of page controls and other data across postbacks. It stores the current state of the page as a hidden field in the page's HTML, so that when the form is submitted, the current state can be restored upon returning to the server.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What?s a proxy of the server object in .NET Remoting?

1 Answers  


What is the difference between constants and read-only variables?

1 Answers  


What do you mean by web service?

1 Answers   Accenture,


Explain constructor.

2 Answers   Wipro,


What is Active Directory? What is the namespace used to access the Microsoft Active Directories? What are ADSI Directories?

1 Answers   TCS,


Tell us what is json data, and what is one way that .net developers can work with json?

1 Answers  


Difference between Panel and GroupBox classes?

3 Answers  


What is strong-typing versus weak-typing? Which is preferred?

1 Answers  


What is different between User Control and Web Control and Custom Control?

2 Answers  


Differentiate between managed and unmanaged code?

1 Answers  


Explain .NET architecture?

1 Answers   TCS,


Explain the difference between asp.net & vb.net and explain architecture?

1 Answers  


Categories