Cannot Extend Ajax Timeout

2 posts, 0 answers
  1. Jacob Ellis
    Jacob Ellis avatar
    5 posts
    Member since:
    Sep 2008

    Posted 23 Feb 2011 Link to this post

    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 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.
  2. Simon
    Simon avatar
    2281 posts

    Posted 01 Mar 2011 Link to this post

    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,
    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!
Back to Top