ys.webforms.pagerequestmanagertimeoutexception
不知道可以吗,没有测试。客户那里发现问题,我这里死活发现不到,不知道什么原因。
<HTML>
<HEAD>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="10">
</asp:ScriptManager>
......你的FROM内容
</form>
<script type="text/javascript">
function yourFunction(sender, eventArgs) {
alert("testtesttest");
}
Sys.WebForms.PageRequestManager.prototype._createPageRequestManagerTimeoutError = yourFunction;
</script>
</body>
</HTML>
<HTML>
<HEAD>
</HEAD>
<body>
<form id="Form1" method="post" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="10">
</asp:ScriptManager>
......你的FROM内容
</form>
<script type="text/javascript">
function yourFunction(sender, eventArgs) {
alert("testtesttest");
}
Sys.WebForms.PageRequestManager.prototype._createPageRequestManagerTimeoutError = yourFunction;
</script>
</body>
</HTML>