Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
310
Why can't I decode the viewstate?
posted

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?

Parents
No Data
Reply
  • 310
    posted

    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.

Children
No Data