ASP.NET UpdatePanel Time Out

ctrlShiftBryan picture ctrlShiftBryan · Oct 1, 2008 · Viewed 83.1k times · Source

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

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

Does anyone know if there is a way to increase the amount of time before the call times out?

Answer

CodeRedick picture CodeRedick · Oct 1, 2008

There is a property on the ScriptManager which allows you to set the time-out in seconds. The default value is 90 seconds.

AsyncPostBackTimeout="300"