So, I'm trying to debug a ViewState problem with my application on pages that use WebDataGrid, where the ViewState gets invalidated. It seems to be related to the custom pager control I created for the grid. But, when I try to copy the ViewState into a viewer, (like this one: http://www.sprklab.com/notes/9-quick-viewstate-viewer-for-aspnet) it tells me the ViewState is corrupted or encrypted. The only way I can get the viewer to read it is to turn off the ViewState for the grid, which then the problem I am trying to debug goes away.
What I want to know is, what are you guys doing with the ViewState where ViewState viewers can't read it?
I'd still like a response to this. I've been having some odd cases where ViewState is getting invalidated and the WebDataGrid is involved.