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

RadAjaxLoadingPanel Script timeout error

4 Answers 536 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Anand Kesavan
Top achievements
Rank 1
Anand Kesavan asked on 28 Oct 2010, 08:15 PM
Hi,
      I am using  RadAjaxLoadingPanel  in my application.   In my app i am showing this control while the user click on "Save" button to update some data into database.  sometimes we save a huge amount of data with some business calculation in to database. In that time we get an javascript error  The server request timed out. but the data will be save properly into database, becase the request has been sent to service.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
 
If i don't but AJAX (i.e RadAjaxLoadingPanel )on this "Save"  button i have no issues. No timeout error.

So could you please let me know how to increse display time  or response time of "RadAjaxLoadingPanel "   to wait for the response from service.

Thanks
Anand

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 29 Oct 2010, 02:09 PM
Hello Anand,

Please review the help topic bellow on how to handle errors during partial-page rendering:
http://www.telerik.com/help/aspnet-ajax/ajxerrorhandling.html

Another option is to set the AsyncPostBackTimeout property of the ScriptManager to a larger value and see if it makes any difference:

<asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="5000" />

I hope that this solves your problem.

Kind regards,
Pavlina
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Anand Kesavan
Top achievements
Rank 1
answered on 29 Oct 2010, 06:58 PM

 

Thanks , problem fixed!

0
Bijoy Mohanta
Top achievements
Rank 1
answered on 13 Mar 2016, 09:18 AM

Yes solved this issues.

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="1200">

</telerik:RadScriptManager>

0
Bijoy Mohanta
Top achievements
Rank 1
answered on 13 Mar 2016, 09:22 AM

Hi Experts,

I have solved this same types of issues by using the following code..

<telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="1200"> </telerik:RadScriptManager>

 

Have a good day.

Tags
Ajax
Asked by
Anand Kesavan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Anand Kesavan
Top achievements
Rank 1
Bijoy Mohanta
Top achievements
Rank 1
Share this question
or