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 side-by-side execution? Can two applications, one using a private assembly and other using a shared assembly, be stated as side-by-side executables?

573


What is a url string?

555


benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks

1674


How can we create pie chart in asp.net?

591


Why and where this web.config file is used?

600






Why session is more secure than cookies?

507


What is the difference between a candidate key and primary key?

527


Why mvc is faster than asp.net? : Asp.Net MVC

536


How does session work in asp net?

559


Define the steps to set up validation control.

585


What are query strings used for?

536


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

507


Is asp.net and .net are same or different?

531


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

549


What are validator? Name the validation controls in asp.net? How do you disable them?

552