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

How to implement globalization and localization in the use interface in .net.

528


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

538


What is the difference between session object and application object?

583


Is there any alternative to avoid name collisions other then Namespaces?

566


What is inheritance and an how it be used, example with an example?

579






What is the benefit of WebAPI over WCF?

559


Is asp.net web forms dead?

505


What are the advantages of passport authentication?

501


What is diff. Between abstract class and an interface?

515


What is difference between asp.net and asp?

556


Explain MVC model binders?

593


What is repository pattern in mvc.net? : asp.net mvc

517


What is xaml? Are xaml file compiled or built on runtime?

518


How can I configure asp.net applications that are running on a remote machine?

531


What are the built-in objects in asp.net?

552