Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out

1 Answer 5654 Views
Top achievements
Rank 1
EVERIAL asked on 11 Oct 2010, 10:43 AM
Good morning !

We are using a treeview for our Web Application.

This treeview is created from SQL requests.
On first load, I only load "visible" nodes (treeview is not expanded by default).

For example I load 3500 nodes (objects). And when the user expands a node, I call a new SQL request in order to display childs...
The matter is that sometimes, SQL request are a little important, and after around 1 minute the treeview timeout !

I have this error : Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

Here is the definition of the treeview :
<telerik:RadTreeView ID="radTreeView" runat="server" CheckBoxes="True" CheckChildNodes="True"
                                Height="200px" MultipleSelect="True" OnNodeCheck="radTreeView_NodeCheck" OnNodeExpand="radTreeView_NodeExpand"
                                OnPreRender="radTreeView_PreRender" Skin="WebBlue" TriStateCheckBoxes="True" OnNodeClick="radTreeView_NodeClick"
                                Width="100%" meta:resourcekey="radTreeViewResource1">

Can you please tell me how to avoid this timeout ?

Thanks and have a good day

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 14 Oct 2010, 09:15 AM
Hi Ibee,

Retrieving a large amount of data to populate a control has always been a tricky task.

The Sys.WebForms.PageRequestManagerTimeoutException is usually raised by the PageRequestManager class to return an error when an asynchronous postback has exceeded the specified time for processing.

You can optimize the RadTreeView performance using this online help article.
Additionally I can suggest you set the AsyncPostBackTimeout property of the script manager that you use to higher than the default value (the default value is 90 seconds) - please take a look at this MSDN article.
I hope this helps.

All the best,
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
Top achievements
Rank 1
commented on 18 Oct 2010, 10:47 AM

Ok thanks for the help !

I modified AsyncPostBackTimeout  of the script manager and so that I can now control this timeout...

And I am going to have a look to the optimizations of RadTreeView.

Top achievements
Rank 1
commented on 02 Dec 2013, 01:33 PM

ScriptManager.GetCurrent(this).AsyncPostBackTimeout = 400;
This is worked.
In my case, am binding data to grid view(ASP .NET), it is very slow can u please suggest to increase the performance.

Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question