what is the lifespan of the items stored in viewstate ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Explain the difference between the debug class and trace class?
what happens if you inherit multiple interfaces and they have conflicting method names?
what is an internal specifier? what happens internally when I use access specifier Internal ?
Can You Prevent Your Class From Being Inherited By Another Class?
Compare and contrast between the System.Array.CopyTo() and Clone()?
can any one send the project manager questions in .net
Is c# used for frontend or backend?
what are implementation inheritance and interface inheritance?
What is the class in c#?
What is difference between gridview and form view?
What is the difference between int.parse and int.tryparse methods?
Explain namespaces in c#.