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

RadAjaxLoadingPanel automatically goes off after 70-90 seconds

6 Answers 268 Views
AjaxLoadingPanel
This is a migrated thread and some comments may be shown as answers.
Sumit
Top achievements
Rank 1
Sumit asked on 20 Mar 2016, 01:21 PM

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.

6 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 23 Mar 2016, 03:19 PM
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.
0
Sumit
Top achievements
Rank 1
answered on 24 Mar 2016, 05:13 AM

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

0
Maria Ilieva
Telerik team
answered on 28 Mar 2016, 02:51 PM
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.
0
Sumit
Top achievements
Rank 1
answered on 29 Mar 2016, 06:04 AM

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

 

0
Accepted
Vasil
Telerik team
answered on 30 Mar 2016, 12:56 PM
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.
0
Sumit
Top achievements
Rank 1
answered on 31 Mar 2016, 05:59 AM

Hi Vasil,

Thank you so much for the solution.

Thanks & Regards,

Sumit

Tags
AjaxLoadingPanel
Asked by
Sumit
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Sumit
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or