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 asp net theme?

525


What is the difference between page directive include and action tag include?

530


How do you do Client-side validation in .Net?

583


When you use Ajax controls in the ASP.NET application?

574


What is runat?

619






What is AutoPostback?

607


What is the use of asp.net web api?

586


How Can assign alias name for ASP.NET Web API Action?

942


What parameters can you pass in the url of the api? Can get and post use the same url?

560


What is the significance of proxy user?

619


Which type of state management is provided by Query String in ASP.NET?

561


What’s the catch?

628


How do u deploy ur project?

2222


What is asp.net and ado net?

524


Which authentication uses a combination of windows and iis authentication?

593