不知道可以吗,没有测试。客户那里发现问题,我这里死活发现不到,不知道什么原因。
<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>
转载于:https://www.cnblogs.com/lgzh3/archive/2008/01/03/1024103.html