What is the lifespan for items stored in ViewState?

Answers were Sorted based on User's Feedback



What is the lifespan for items stored in ViewState?..

Answer / ganesh

Item stored in ViewState exist for the life of the current
page. This includes postbacks (to the same page).

Is This Answer Correct ?    11 Yes 1 No

What is the lifespan for items stored in ViewState?..

Answer / guest

ViewState life is limited for Single RoundTrip.
Each New postback create new values for viewstate

Is This Answer Correct ?    6 Yes 6 No

Post New Answer

More ASP.NET Interview Questions

Difference Between GridView And DataList

2 Answers  


Whats the difference between abstract factory pattern and factory pattern?

0 Answers  


How do we ensure view state has not tampered?

0 Answers  


What is role-based security?

1 Answers  


Is redux flux?

0 Answers  






How do you add a javascript function for a link button in a datagrid?

2 Answers   Microsoft,


You create an assembly to access data in a relational database. This assembly will be used by several ASP.NET applications on your Web server. You need to ensure that all your applications can access the assembly. Which two actions should you take (Each Answer: presents part of the solution.)? (Choose two) A . Run the Assembly Registration tool (Regasm.exe). B . Run the String Name tool (Sn.exe). C . Run the Installer tool (Intallutil.exe). D . Run the Global Assembly Cache tool (Gacutil.exe).

6 Answers   CPCL, Syntax Softtech,


Which type of state management is provided by Query String in ASP.NET?

0 Answers   Sans Pareil IT Services,


Take a Large textbox allow to type any data. Task 1:display the count of vowels in a lable on key press event of the textbox Task 2:dispaly count of dates in a lable when dates in following foramats:dd/mm/yy , mm/dd/yy , yy/mm/dd. Task3:compare 2 dates and display both are same or not which dates are in dd/mm/yy and mm/dd/yy farmats.

0 Answers   eMids,


What is the difference between typeof() vs gettype()?

0 Answers  


How ASP.NET page works?

0 Answers   MCN Solutions,


What is custom tag in Web.Config?

0 Answers   Accenture,


Categories