Radtreeview Performance

2 posts, 0 answers
  1. Suresh Balan
    Suresh Balan avatar
    5 posts
    Member since:
    May 2008

    Posted 07 Jul 2009 Link to this post

    Hi Sir,

    I use RadTreeview to list all the grouping records (single level nodes could be more than thousand) and each node with a tool tip to display the details. Sample code like this.

     

    <telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="True" DataSourceID="ObjectDataSource2"

     

     

    DataFieldID="requirementno" DataValueField="reqno" DataFieldParentID="parentrequirementno">

     

     

    <CollapseAnimation Duration="100" Type="OutQuint" />

     

     

    <ExpandAnimation Duration="100" />

     

     

    <NodeTemplate>

     

     

    <asp:Label ID="Label6" runat="server" Text='<%# Eval("displayreqno") & "-" & Eval("ShortRequirement") & "(" & Eval("qtype_display") & ")" %>'></asp:Label>

     

     

    <asp:Image ID="img1" runat="server" AlternateText="Test plan associated or not" ImageAlign="Baseline"

     

     

    ImageUrl="menuimages/delete2.png" />

     

     

    <telerik:RadToolTip ID="RadToolTip1" runat="server" Width="400px" Height="150px"

     

    Skin="Outlook" TargetControlID="img1" Position="BottomCenter" Animation="Slide"

    ManualClose="True" Text='<%# Eval("Requirement")%>'>

    </telerik:RadToolTip>

     

     

     

    </NodeTemplate>

     

     

    </telerik:RadTreeView>

     

     

    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetAllRequirements"

     

     

    TypeName="DocumentManagement">

     

     

    <SelectParameters>

     

     

    <asp:SessionParameter Name="projectid" SessionField="ProjectInfo" Type="Object" />

     

     

    </SelectParameters>

     

     

    </asp:ObjectDataSource>

    when records is over thousand the performance becomes very bad. Any idea ...?

    Thanks very much!

     

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 08 Jul 2009 Link to this post

    Hi Suresh,

    Please refer to this article for details on the matter.

    Kind regards,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top