Ajax – ASP.NET UpdatePanel Time Out

ajaxasp.netupdatepanel

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?

Best Answer

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"