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 is ridiculous.
ASP.NET allows us to add, delete, and modify page controls in code.  I have set the EnableViewState of all these controls to false.  I have set all their parent placeholders and panels to false.  Yet EVERY TIME I get this error, which SHOULD just IGNORE any controls it can't find.
Is there any way to debug this? I can't beleive that ASP.NET requires that all controls in a postback must be in the exact same order and configuration and can't be changed in code.  That is a useless and stupid limitation.
Can I like, READ the Viewstate, maybe find out what it th ...

Go to the complete details ...