What is viewstate?

Answer Posted / sivaprasad

i)Viewstate is nothing but persisting the state of the
controls across postbacks.
ii)In the page lifecycle Init,Load,Prerender(this is the
last stage for viewstate,what data you want to save here we
need modify that and it will be saved).
iii)Maintaining the data with in the page level.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where do we store our connection string in asp.net application?

526


What is in a session cookie?

538


How do you declare static variable?

561


If we remove web.config or machine.config from the application then, is this application will works?

594


What are the elements of a website?

517






Is asp.net 64-bit enabled? How?

589


Difference between web user control and web custom control?

503


Can you explain the importance of finalize method in .net?

589


What is asp.net localization?

499


What websites use asp.net?

524


Can I read the hard disk serial # of the client computer using asp.net?

554


How to disable validator control by client side JavaScript?

574


What is data control in asp.net?

516


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

548


What is ashx file in asp.net?

553