This is a migrated thread and some comments may be shown as answers.

Cannot Extend Ajax Timeout

1 Answer 728 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
Jacob Ellis
Top achievements
Rank 1
Jacob Ellis asked on 23 Feb 2011, 02:28 PM
The default Ajax request is set to 90 seconds. I am trying to extend this. I have set set AsyncPostBackTimeout to 3600 (which should set the Ajax request timeout to 1 hour) but for some reason, this is not working. The expected functionality is that when I send an Ajax request, the loading panel will be maintained on the page for this amount of time.

Here is what my RadScriptManager tag looks like:
       
<telerik:radscriptmanager runat="server" ID="radScriptManager" CdnSettings-TelerikCdn="Disabled" AsyncPostBackTimeout="3600" OutputCompression="AutoDetect" EnableScriptCombine="true"></telerik:radscriptmanager>

In Web.config, I have <httpRuntime executionTimeout="21600"> so that shouldn't be an issue either (we have some very long uploads that we have to handle, necessitating the long execution time).

Based on everything that I have read, setting this is all that needs to be done (see these forum posts 1 2). Is there any other setting (Telerik or ASP.net) that can be made (in code, config or IIS) that can affect the amount of time that Ajax requests will last before the loading image expires?

Note: the request continues to be and run on the server, even after the AjaxLoading image disappears. The problem is that the user is not informed of this, because Ajax has stopped updating the page.

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 01 Mar 2011, 12:46 PM
Hello Jacob Ellis,

The loading panel hides once the server returns the response of the previously initiated ajax request.

There could be something else in your environment that is causing this issue. Can you provide us with a running project or a live URL where we can observe and debug the problem?

Kind regards,
Simon
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
ScriptManager and StyleSheetManager
Asked by
Jacob Ellis
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or