有时,在单击Updatepanel中的按钮时会引发"PageRequestTimeout"异常 [英] Sometimes, On click of button placed in Updatepanel throws 'PageRequestTimeout' exception

查看:72
本文介绍了有时,在单击Updatepanel中的按钮时会引发"PageRequestTimeout"异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临一个奇怪的问题.我在asp.net页面上有7 -8个更新面板.有时,在更新面板之一中单击按钮时,一旦我们单击按钮,就会引发"PageRequestTimeOut"异常,此后什么也没有发生.

无法追踪问题.任何人都可以帮忙什么原因.

I am facing a strange issue. I have 7 -8 update panels in a asp.net page. Sometimes on click of a button in one of update panel throws ''PageRequestTimeOut'' Exception as soon as we click on button and nothing happens after that.

Unable to trace the issue. Can anyone plz help what can be the reason.

推荐答案

在您拥有脚本管理器的母版页中

在PAGE Load中尝试以下操作

in your Master page where you have you Script Manager

Try below in PAGE Load

ScriptManager _scriptMan = ScriptManager.GetCurrent(this);      _scriptMan.AsyncPostBackTimeout = 36000; 



并检查问题是否仍然存在



and check if problem still presist


这篇关于有时,在单击Updatepanel中的按钮时会引发"PageRequestTimeout"异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆