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
615
Paging and no viewstate
posted

Currently I have some very big pages (thanks to the viewstate), so I tried to compress the viewstate which is working perfectly. However, when I enable paging on the WebDataGrid and click on a page number, a javascript error is thrown because the control is reading something (in javascript!) from the viewstate.

So my question is: why are you reading from the viewstate client-side? And is there anything I can do to compress my viewstate and still use paging?

Parents
  • 14049
    Suggested Answer
    Offline posted

    Hello Pieter,

    In the ajax scenario it collects the view state to be posted back to the server so the state is restored to whatever it was in the last page life cycle.

    Can you post java script error details?

    Thanks.

Reply Children