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. 
报这种错
private void RenderControl(string controlName)
{
    contentControl = Page.LoadControl("UserControls/" + controlName);
    plhContent.Controls.Clear();
    plhContent.Controls.Add(contentControl);——这里出错
}contentControl在页面一开始就定义了的
private Control contentControl;我的想法是根据radiobuttonlist的选择来动态加载,但是一改变就出错了,当然!postback是好的,RenderControl不管是不是postback都要执行的,如果controlName不变的话也是没有问题的,好像这个问题碰到的人还挺多,但是我没找到解决方法