What is viewstate?

Answer Posted / nithya

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 ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is simple data binding?

521


What can you do with asp.net?

519


What are session cookies?

547


What is the importance of aspnet_isapi.dll, inetinfo.exe andaspnet_wp.exe in the page loading process.

592


What is inproc mode in session?

513






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....

1604


Which object wraps the state or data of a user?

552


Explain the difference between asp and asp.net?

514


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

535


Is asp net front end or backend?

532


Which method is used to enforce garbage collection in .net?

429


What is csrf attack in asp.net?

524


How ASP.NET page works?

678


What is postback and autopostback in asp.net?

533


Which Is Faster MVC or ASP.net ?

589