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

[Solved] Radtreeview Performance

1 Answer 88 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Suresh Balan
Top achievements
Rank 1
Suresh Balan asked on 07 Jul 2009, 09:15 PM
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!

 

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 08 Jul 2009, 12:08 PM
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.
Tags
TreeView
Asked by
Suresh Balan
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or