Groups | Blog | Home
all groups > asp.net webcontrols > october 2004 >

asp.net webcontrols : How many nodes is recomended in a treeview



Henke
10/21/2004 3:40:13 PM
Hi!
We are using the TreeView control to display data in a web application.
We have noticed that the performance is extremely low when there are many
nodes in the tree. Is there any recomendation regardning the maximum number
of nodes in the tree? Is there any way to increase the performance, or maybe
any other component to use?

Thanks, Henke!


Patrick.O.Ige
10/21/2004 6:51:03 PM
I think microsoft advice was not to have more than 1000 nodes:)
How are u populating ur TreeView ?


[quoted text, click to view]
Henke
10/22/2004 9:36:06 AM
Hi!

I populate i dynamicly with treeView.Nodes.Add(new TreeNode("A new Node"))
....
It's a quiete big hierarchy with six levels and I don't know how many nodes
in every level.

/Henke

"Patrick.O.Ige" <PatrickOIge@discussions.microsoft.com> skrev i meddelandet
news:59E8AB12-8DAF-4CEF-A8DE-BCD9AAD55E11@microsoft.com...
[quoted text, click to view]

Simon
10/23/2004 4:47:17 PM
I actually use the Infragistics tree control for Win and Web development. I
havent tested this claim, but I'm sure they said that with their most recent
release, adding a thousand nodes wouldnt take much longer than adding ten.

AS a user though, I dont think I'd ever want to use a tree view to navigate
1000 nodes!

Simon

Henke
10/27/2004 8:10:24 AM
I'll take a look at Infragistics.
How many nodes do you think it's in your filesystem =) ?

/Henke

"Simon" <sh856531@microsofts_free_email_service.com> skrev i meddelandet
news:u%236DReRuEHA.2640@TK2MSFTNGP10.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button