RadAjaxLoadingPanel automatically goes off after 70-90 seconds

7 posts, 1 answers
  1. Sumit
    Sumit avatar
    5 posts
    Member since:
    Feb 2016

    Posted 20 Mar Link to this post

    I am facing a problem regarding RadAjaxLoadingPanel.

    I am saving records to one table in sql server database. First few seconds, RadAjaxLoadingPanel works fine but after 90 seconds(Approx) it goes off and does not show any progress while data in saving in table.

    Can you tell whether is there any way to make it visible all the times till the query finishes. My query takes around 5 minutes to complete.

    I tried Explicit Hide/Show way also but still i am getting same result.

     

    Please advise.

  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 23 Mar Link to this post

    Hello Sumit,

    You can use the MinDisplayTime property of the RadAjaxLoadingPanel to change the default time for showing the loading indicator.


    Regards,
    Maria Ilieva
    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
  4. Sumit
    Sumit avatar
    5 posts
    Member since:
    Feb 2016

    Posted 24 Mar in reply to Maria Ilieva Link to this post

    Hi Maria,

    Thank you for your response.

    I tried setting MinDisplayTime property of the RadAjaxLoadingPanel but this is not the solution in my case.

    For eg. I set MinDisplayTime for 3 minutes but my query took 4 minutes to execute so RadAjaxLoadingPanel goes off after 3 minutes but process is still running and i can not estimate time required to execute query as each time it will be diifferent depending upon the data in the table.

    Do we have any property so that it will show RadAjaxLoadingPanel until process is going on no matters how much time process is taking.

     

    Thanks & Regards,

    Sumit

  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 28 Mar Link to this post

    Hi Sumit,

    Note that the LoadingPanel appears on the  client and it is not possible to set such a functionality to monitor server process and then hide the panel. Possible approach ion this case is to manually show it using the OnReqestStart client method and to hide it in a client  that is registered on the server after the process finishes.
    I hope this works for your case.

    Regards,
    Maria Ilieva
    Telerikfunction
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  6. Sumit
    Sumit avatar
    5 posts
    Member since:
    Feb 2016

    Posted 29 Mar in reply to Maria Ilieva Link to this post

    Hi Maria,

    Thank you for the reply.

    As suggested, I used OnRequestStart And OnRequestEnd method. Its showing after OnRequestStart but still its going away after 2 minutes.

    Apologies for bothering you again and again.

    Can you please send me any working demo page regarding the same where OnRequestStart loading appears and only after OnRequestEnd it disappears, no matters how long time process takes.

     

    Thanks & Regards,

    Sumit

     

  7. Answer
    Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 30 Mar Link to this post

    Hello Sumit,

    The LoadingPanel will not hide itself after any time. What is happening in your page is that the request timeouts, and this triggers hiding the panel.

    You can change the default timeout of 90 seconds using the AsyncPostBackTimeOut property of the ScriptManager in your page.

    Regards,
    Vasil
    Telerik
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
  8. Sumit
    Sumit avatar
    5 posts
    Member since:
    Feb 2016

    Posted 31 Mar in reply to Vasil Link to this post

    Hi Vasil,

    Thank you so much for the solution.

    Thanks & Regards,

    Sumit

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017