Click here to Skip to main content
13,044,584 members (61,371 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
HI Sir,

Can u tell me what is the use of View State and where it will Stored....
Posted 25-Dec-12 20:28pm
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Take a look at this CP article
Beginner's Guide To View State [^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

The ViewState[^] property provides a dictionary object for retaining values between multiple requests for the same page

This is the default method that the page uses to preserve page and control property values between round trips.

Here is detailed article on same, have a look: Truly Understanding ViewState[^]

..and an example here[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

View State is an encoded string trnasfered by web server with web page on client side in hidden field form. it's name is "__VIEWSTATE". it will used by server again when any request is made by client to server.

it's a little description about it, for more information see MSDN
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 26 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100