Thread: ViewState
View Single Post
  #2 (permalink)  
Old December 3rd, 2005, 11:35 AM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You can read what you put into the viewstate. If you don't put anything INTO viewstate, you can't get anything out of it, even though it contains information. Other controls on the page place information into the viewstate, but you can't access it. Presumably, the viewstate is managed in such a way that only the control that populated the value can get at the value.

-Peter