set the ScripManager property as AsyncPostBackTimeout="36000"
or
you can catch the exception by using this
<script type="text/javascript">
function onEndRequest(sender, e)
{
var err = e.get_error();
if (err != null && err.name === 'Sys.WebForms.PageRequestManagerTimeoutException')
{
e.set_errorHandled(true);
}
}
Sys.WebForms.PageRequestManager.instance.add_endRe quest(onEndRequest);
</script>
avoid Sys.WebForms.PageRequestManagerTimeOutException while using Ajax
最新推荐文章于 2024-10-05 19:40:46 发布