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

How can we create Tree control in asp.net?

582


What is GAC in ASP.NET 2.0

583


In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?

506


Explain the use of dataadapter.

572


What does asax stand for?

516






What are the steps involved to fill a dataset?

550


What are the differences between code behind and code inline?

510


how to implement some securty aspect in our application i.e 1.cookie poisioning. 2.data encryption. 3.forcefull browsing 4.sql/code injection 5.securing web app by using web services ........my question is how to implement these thing in our application is this done by hard coding or by help of some tool

1640


Define authentication and authorization.

617


if i want to give an alert message like "try after sometime" to a web page which is being seen by other person.if a web page is not seen by anyone then it should display otherwise it show a display a message stating that other person is viewing so try after some time........how can i implement this.

1831


Is there any limit for query string? Means what is the maximum size?

483


What are the disadvantages of using session?

467


Am not able to move the controls on the form freely in asp.net 3.5 even though I selected the position as relative or absolute for those controls. What should I do to overcome this?

1942


Explain page output caching?

522


Define application state variable and session state variable?

555