ASP.NET UpdatePanel Time Out

后端 未结 7 739
天命终不由人
天命终不由人 2020-12-08 02:21

I\'m making a request from an UpdatePanel that takes more then 90 seconds. I\'m getting this timeout error:

Microsoft JScript runtime err

7条回答
  •  无人及你
    2020-12-08 02:47

    Well, I suppose that would work if you just want the request thrown away with the potential that it never completely executed...

    Add an AsyncPostBackTimeOut property to the ScriptManager tag to change your default timeout from 90 seconds to something more reasonable for your application.

    Further, look into changing the web service receiving the call to move faster. 90 seconds may as well be infinity in internet time.

提交回复
热议问题