Failed to load viewstate. The control tree into which viewstate must match.
I have a GridView control. When I move the GridView control to another page, I get this error:
Server Error in '/' Application.
Failed to load viewstate. The control tree into which view开发者_StackOverflow社区state 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.
How do I tackle with this problem?
Thanks in advance.
There may be some cached control. Try clearing your browser cache and try again
精彩评论