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

RadTreeView Expand Taking a Long Time

2 Answers 110 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
not
Top achievements
Rank 1
not asked on 03 Dec 2010, 02:39 AM
I have a RadTreeView in my user control (.ascx) like this:

<telerik:RadTreeView ID="myTreeView" CheckBoxes="true"  
PersistLoadOnDemandNodes="true" TriStateCheckBoxes="true" runat="server"
CheckChildNodes="true" CausesValidation="false"
OnNodeExpand="treeView_NodeExpand">

    <CollapseAnimation Type="OutQuint" Duration="100" />
    <ExpandAnimation Duration="100" />  
</telerik:RadTreeView><BR>

It's been working fine but lately I notice when I click on the expand(+) button it take about more than 5 seconds to hit the break point I have on the 1st line of code in my handler(treeView_NodeExpand). What could be the culprit here? What is going on in between the click and hitting the break point?

2 Answers, 1 is accepted

Sort by
0
not
Top achievements
Rank 1
answered on 03 Dec 2010, 05:56 PM
Update:

This is what I get from Fiddler -

ACTUAL PERFORMANCE
--------------
ClientConnected: 08:47:16.736
ClientBeginRequest: 08:47:25.517
ClientDoneRequest: 08:47:25.524
Gateway Determination: 0ms
DNS Lookup:   0ms
TCP/IP Connect:  0ms
HTTPS Handshake: 0ms
ServerConnected: 08:45:39.387
FiddlerBeginRequest: 08:47:25.524
ServerGotRequest: 08:47:25.525
ServerBeginResponse: 08:48:13.028
ServerDoneResponse: 08:48:13.028
ClientBeginResponse: 08:48:13.028
ClientDoneResponse: 08:48:13.028

Overall Elapsed: 00:00:47.5110000

It takes a 47 seconds to expand a tree node! However, this behavior is not consistent, sometimes it's snappy sometimes it takes forever. This happens on my local development machine which is running Windows 7 Enterprise. I'm using VS 2008.

Thanks.
0
Nikolay Tsenkov
Telerik team
answered on 07 Dec 2010, 01:35 PM
Hi not,

Could you, please, open a support ticket and send us a sample project reproducing this slowdown?
Or could you, please, post some code that will reproduce it, along with an algorithm so we can reproduce it at our end?


Regards,
Nikolay Tsenkov
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Ajax
Asked by
not
Top achievements
Rank 1
Answers by
not
Top achievements
Rank 1
Nikolay Tsenkov
Telerik team
Share this question
or