I am building a treeview by using populateondemand=true option. (i.e. dynamically loading the child nodes when user clicks on parent node). While building the treeview, i am counting the number of child nodes under a parent node and based on that i am
displaying (+) sign before the node.
I am setting the treeview.selectionaction = TreeNodeSelectAction.None to avoid page postback.
Now, my problem is I am not able to select leaf nodes. But, if I set "TreeNodeSelectAction.Select", then i am able to but with postback.
My requirement is, without postback i must be able to select the leaf nodes.
vishnuganesh
Member
75 Points
15 Posts
Not Able to select leaf nodes
Nov 07, 2006 02:49 AM|LINK
Hi,
I am building a treeview by using populateondemand=true option. (i.e. dynamically loading the child nodes when user clicks on parent node). While building the treeview, i am counting the number of child nodes under a parent node and based on that i am displaying (+) sign before the node.
I am setting the treeview.selectionaction = TreeNodeSelectAction.None to avoid page postback.
Now, my problem is I am not able to select leaf nodes. But, if I set "TreeNodeSelectAction.Select", then i am able to but with postback.
My requirement is, without postback i must be able to select the leaf nodes.
Anybody help me please... it is very urgent..
Thanks in advance
Ganesh