what is the lifespan of the items stored in viewstate ?

Answers were Sorted based on User's Feedback



what is the lifespan of the items stored in viewstate ?..

Answer / bhawesh

Item stored in ViewState exist for the life of the current
page. Or the life of a page till postback.

Is This Answer Correct ?    4 Yes 0 No

what is the lifespan of the items stored in viewstate ?..

Answer / 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

what is the lifespan of the items stored in viewstate ?..

Answer / priya arun

view state life span is only to current page itslef....

while navigating to another page,the state page discard the
value ...so view state can't maintain the value in next
page.

Is This Answer Correct ?    2 Yes 0 No

what is the lifespan of the items stored in viewstate ?..

Answer / raman

View state information is stored in the hidden fields,till
the browser is closed the view state information can be
seen

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is a nullreferenceexception and how do I fix it?

0 Answers  


Is multilevel inheritance possible in c#?

0 Answers  


explain the nature of the assembly work?

0 Answers   HCL,


Can a static class have a constructor c#?

0 Answers  


what is virtual method in c#?

0 Answers  






Does main have to be static c#?

0 Answers  


How to implement an object pool in c#.net.

0 Answers  


How to implement a singleton design pattern in c#?

0 Answers  


So how do you retrieve the customized properties of a .NET application from XML .config file? Can you automate this process ?

1 Answers  


What exactly happens when we debug and build the program?

0 Answers  


If a base class has a bunch of overloaded constructors, and an inherited class has another bunch of overloaded constructors, can you enforce a call from an inherited constructor to an arbitrary base constructor?

2 Answers  


What are the steps for creating clr trigger

0 Answers  


Categories