telerik RadAjaxLoadingPanel disappear after sometime

2 posts, 0 answers
  1. Nur
    Nur avatar
    2 posts
    Member since:
    Apr 2016

    Posted 25 Apr Link to this post

    Hi,
    I am using Telerik with ASP.NET.
    There is some process which takes much time to complete. At the time of process RadAjaxLoadingPanel viwed successfully in my development environment.
    But when I run the application from IIS then after some tile ajax loading panel disappear. At the time back end process till in progress and finally no message about the completion success or failure status.
    Some code:
    Master page:

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="1200">
    <Scripts>
    <telerik:RadScriptReference Path="JS/jquery-1.11.1.min.js
    </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline><
    telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelProcess" Enabled="true" runat="server" IsSticky="true" MinDisplayTime="300" Style="position: absolute; top: 0; left: 0; height: 100%; width: 100%">
    Processing..
    </telerik:RadAjaxLoadingPanel>

    Content page:

    <telerik:RadWindowManager ID="RadWindowManagerProcess" runat="server"</telerik:RadWindowManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanelProcess1" Enabled="true" runat="server" IsSticky="true" Style="position: absolute; top: 0; left: 0; height: 100%; width: 100%;" RegisterWithScriptManager="true"> Processing...</telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest" LoadingPanelID="RadAjaxLoadingPanelProcess1">
    </telerik:RadAjaxPanel
    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
    function confirmCallBackFn(arg) {
        var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>")
    if (arg) {
    $find("<%= RadAjaxPanel1.ClientID%>").ajaxRequestWithTarget("<%= RadAjaxPanel1.UniqueID %>", "PanGenerate");
    }
    else {
       ajaxManager.ajaxRequest('Cancel');
    }
    }
    </script>
    </telerik:RadCodeBlock>

    CS:

    protected void btnCrud_ProcessClick(object sender, EventArgs e){
    //.........
    if (totalCard >
    { var msg = new StringBuilder();
    msg.Append("Total " + totalCard + " records found.");
    msg.Append("/br");
    msg.Append(" Do you want to process " + CalculativeCard + " records ?");<br>  RadWindowManagerProcess.RadConfirm(msg.ToString(), "confirmCallBackFn", 370,170, null, "Confirmation Message")
    }
    }

    So what can I do???
    Please inform me if any more information required..
    Thanks in advance
  2. Viktor Tachev
    Admin
    Viktor Tachev avatar
    1488 posts

    Posted 26 Apr Link to this post

    Hello Nur,

    The behavior you are observing may be due to a timeout.

    If the process takes a long time to return the data from the server the request may timeout. If you would like to increase the timeout you can use the approach described in the following stackoverflow thread:



    Regards,
    Viktor Tachev
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top