• 0

ASP.NET viewstate problem


Question

I get 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. "

This happens after I try to rearrange controls in HTML and then press an imagebutton on the page while the app is running. After I disable ViewState it works fine. But I need viewstate, how can I fix this?

Link to comment
https://www.neowin.net/forum/topic/124054-aspnet-viewstate-problem/
Share on other sites

1 answer to this question

Recommended Posts

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.