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
215
Failed to load viewstate error
posted

Hi,

On a webdatagrid, I have TemplateDatafield column, which include checkbox (for user to select rows)
I am getting into troubles when having checkbox together with paging ability.
This is the scene description:

1) user on page #1 and  checked a checkbox
2) browse to page# 2
3)when browsing back to page #1  user gets this error:

Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

any help will be appreciated,

Shlomit