Click here to Skip to main content
15,886,046 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI Sir,

Can u tell me what is the use of View State and where it will Stored....
Posted

Take a look at this CP article
Beginner's Guide To View State [^]
 
Share this answer
 
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[^]
 
Share this answer
 
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
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900