views:

21

answers:

1

How can you examine what's in the ViewState for a control/page?

When I try to look at the object in the debugger, the keys, the values, the Non-public members are all "turtles all the way down".

A: 

The Viewstate Helper is a great tool for examining viewstate from the outside - i.e., decoding it from a rendered page and showing you what is there, how heavy it is, etc.

Gabe Moothart
Yeah, I'm aware of this, but I'm specifically trying to look in debugger (without writing a foreach loop to write out the contents to a debugging panel on the page or something similarly silly). I have a property being stored in the ViewState doesn't appear to behave well (i.e. persist across postbacks).
Brad