A
ANU
I have a tree view which i load completely at the time of my webpage load.
When i click on the + signs of the parent nodes, it expands to show all of
its children. Similarly, when i click on the node itself, it expands to show
its children. It works fine but it is very slow as compared to clicking on +
sign to load children. No other event or process runs in the background when
i click on the node or the + sign of the folder image. In my treeview each
parent can have atleast 200 to 300 children and sub-children. I have my
treeview in an update panel.
These are the properties that i set for each node when i load the treeview
initially.
childNode.Text = childRow("Name")
childNode.Value = childRow("CategoryId")
childNode.SelectAction = TreeNodeSelectAction.SelectExpand
Please let me know how to improve my performance. I would appreciate any
help.
Thank you.
Anu
When i click on the + signs of the parent nodes, it expands to show all of
its children. Similarly, when i click on the node itself, it expands to show
its children. It works fine but it is very slow as compared to clicking on +
sign to load children. No other event or process runs in the background when
i click on the node or the + sign of the folder image. In my treeview each
parent can have atleast 200 to 300 children and sub-children. I have my
treeview in an update panel.
These are the properties that i set for each node when i load the treeview
initially.
childNode.Text = childRow("Name")
childNode.Value = childRow("CategoryId")
childNode.SelectAction = TreeNodeSelectAction.SelectExpand
Please let me know how to improve my performance. I would appreciate any
help.
Thank you.
Anu