what is the lifespan of the items stored in viewstate ?

Answer Posted / suresh

ViewState is newly introduced in ASP.Net to hold the status of the current page values when submitted to the server. Life of ViewState is till the current page postbacks.



Note : You may save a lot of coding by maintaining the ViewState of the objects in your Web Form

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is delegates in c# and uses of delegates?

548


Can I do things in il that I can't do in c#?

604


What is strong name assembly?

542


What is an example of a delegate?

596


Define xslt.

628






Differentiate between method overriding from method overloading with its functionality?

614


Will the following code compile?

631


How are methods overloaded?

633


Can we inherit a class with private constructor in c#?

707


What is the extension of c# file?

526


How to implement a singleton design pattern in c#?

564


What is difference between private and static constructor?

548


What are the steps for creating clr trigger

663


From which base class do all Web Forms inherit from?

601


Explain About remoting and web services. Difference between them

632