RadTreeView Expand Taking a Long Time

3 posts, 0 answers
  1. not
    not avatar
    8 posts
    Member since:
    Dec 2010

    Posted 02 Dec 2010 Link to this post

    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. not
    not avatar
    8 posts
    Member since:
    Dec 2010

    Posted 03 Dec 2010 Link to this post

    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.
  3. Nikolay Tsenkov
    Admin
    Nikolay Tsenkov avatar
    734 posts

    Posted 07 Dec 2010 Link to this post

    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.
Back to Top