GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP.NET
Go To First  |  Previous Question  |  Next Question 
 ASP.NET  |  Question 132 of 164    Print  
Where is the View state Data stored?

  
Total Answers and Comments: 3 Last Update: October 21, 2009     Asked by: richy_dhivya 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 31, 2007 06:34:29   #1  
Gaurav Kumar Singh        

RE: Where is the View state Data stored?

View State data is stored in a hidden field on a Web page. and it is loaded before the page load event.


 
Is this answer useful? Yes | No
October 01, 2008 21:06:06   #2  
ynvpavan Member Since: September 2007   Contribution: 16    

RE: Where is the View state Data stored?
ViewState data is stored in the hidden field. When the page is submitted to the server the data is sent to the server in the form of hidden fields for each control. If th viewstate of the control is enable true te value is retained on the post back to the client when the page is post backed.
 
Is this answer useful? Yes | No
October 20, 2009 12:12:25   #3  
kirangiet Member Since: June 2009   Contribution: 24    

RE: Where is the View state Data stored?
View State data is stored in Hidden Field. This is fine as far as small amount of data is stored. What will happen if I want to store large chunk of data (I know View state is not preferred in such scenario just let us assume). In that case multiple hidden field controls will be created automatically to accommodate the data.

Note: View state data will be serialized to a base-64 encoded string before stored in Hidden Field.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape