I'm working with a custom button control that works fine in 1.1, but gives me the following error in 2.0:
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.
If I build a simple form that handles the button's click event in
1.1, it works without a hitch, but doing the same thing in 2.0 throws
that error when I click the button. I did not write the button
control, but if you need more information, please let me know.
Thanks for all your help!