I have a custom field with a TextBox, a Button, a ListBox, and another Button. When I click one of the buttons, I get the following error (there is currently no logic or data populating the textbox or listbox, I m just trying to wire things up):
"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."
我也增加了我对洛德的每一个控制。 任何建议?