you can't. if you need this for reporting, just turn on tracing and
viewstate will be dumped on the page. tracing internally enumerates the
viewstate object. i'm not aware of a way to enumerate the viewstate object
otherwise.
--
Regards
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at
www.lulu.com/owc, Amazon, B&H etc
-------------------------------------------------------------------------------
"wASP" <wylbur[at]ev1[dot]net> wrote in message
news:ma********************************@4ax.com...
On Tue, 2 Aug 2005 13:13:47 -0400, "Alvin Bruney [Microsoft MVP]"
<www.lulu.com/owc>
wrote:
you get to viewstate using viewstate["item"]. The statebag is for
backwards
compatibility
Thanks Alvin,
So how would I get an array of strings that enumerates all
of the available/valid indicies within the viewstate object?
- wASP