What is viewstate?

Answer Posted / ganesh

ViewStates are nothing but hidden fields genereted by
asp.net at runtime to maintain the state of the (Controls)
object. We can maintain viewstate in three levels.
Application level,Page Level,Control level. For this
EnableViewState property should be true.

These viewstates will be availble only in the page.If the
page will get expire this also will be expire in runtime.
We can maintain viewstate with in the page only.

-------------------------

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the life cycle of an asp.net page?

524


What is an assembly? Explain its parts.

629


What is slidemaster?

464


How you will handle session when deploying application in more than a server?

587


What are the new features implemented in ASP.NET?

603






Which is better asp.net or php?

528


How can we use Web API with ASP.NET Web Form?

645


Which tool you have done?

1478


How do you remove duplicates without using remove duplicate stage?

613


How can you send an email message from an asp.net web page?

520


What is the difference between web config and machine config files?

556


if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....

1596


What is different in .net 1.1 and .net 2.0?

572


What are the asp.net 2.0 features?

547


What is tracing? Where is it used?

555