<asp:Button runat="server" Text="Button" ID="fakeButton" 
                                            onclick="fakeButton_Click" style="display:none"/>后台:string script = "<script>function postIt(){if(window.confirm('需更换PNR,是否确认预订?')){" + Page.ClientScript.GetPostBackEventReference(fakeButton, "", false) + "}}postIt();</script>";
                                            Page.ClientScript.RegisterClientScriptBlock(typeof(Page), "confirm", script, false);
现在执行后台,提示无效的视图状态错误内容:无效的视图状态。
 Client IP: 127.0.0.1 Port: User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; 
.NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; CIBA; MS-RTC LM 8) 
ViewState: 自动生成的字符
ViewState关系?
请教各位,谢谢