Senator Guerra Souty original series calendar,replica hublot blue steel peach pointer collocation of rolex replica Rome digital scale, track type minute replica watches scale shows that the classical model is swiss replica watches incomparable, wearing elegant dress highlights.
mr-ponna.com

 

YOU ARE HERE: HOME Questions What is ViewState What are the advantages and disadvantages of view state



ViewState in ASP.NET

View(s): 15063

What is ViewState? What are the advantages and disadvantages of view state?

Answer 1)

ASP.NET view state is the technique used by an ASP.NET Web page to persist changes to the state of a Web Form across postbacks. The view state of a page is, by default, placed in a hidden form field named __VIEWSTATE. 
 
Advantages:
  • No server resources required 
  • simple implementation 
  • automatic retention of page and control state 
  • Enhanced security features. The values in view state are hashed, compressed, and encoded for Unicode implementations. 
Disadvantages:
  • Performance. The view state is stored in the page itself, so increase the page size. 
  • Security. The view state is stored in a hidden field on the page. Although view state stores data in a hashed format, it can be tampered with. 
  Asked in:  LiquidHub   Expertise Level:  Intermediate
  Last updated on Wednesday, 08 December 2010
4/5 stars (8 vote(s))

Register Login Ask Us Write to Us Help