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

Tabstrip with dynamic loaded treeview

0 Answers 55 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Anthony
Top achievements
Rank 1
Anthony asked on 24 Jan 2011, 04:51 AM
I have a project that need use Tabstrip to show different category type, when user click a tab, it will dynamic load treeview based on category type id. when the treeview loaded, it will have checkbox with each node, also some nodes will come with textbox for user comment. My initial thought was to load whole treeview at beginning in CreateChildControls method, but client complaint the slowness of the treeview render. Then I adopted load on demand mechanism. I first only load top 2 level tree nodes and when user click plus sign to expand, it will load all tree nodes for that top level node. But in this way, the value in textbox is always empty in postback. I guess that because the BuildTreeview method is called multiple times in CreateChildControls method. Can anyone help me out on this one. I can't post code since they are a lot.

Thanks a lot in advance for your help.

Anthony 

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Anthony
Top achievements
Rank 1
Share this question
or