Hello,
I want my treeview nodes to behave slightly differently to the default in that when a node that has child nodes is clicked the postback is disabled and the node is simply expanded. I will be wanting to raise a postback and fire the node click event when a node that does not have child nodes is clicked.
I tried a server side approach on the node data bound event by trying to count the e.Node.Nodes to see if it had children that way but it was always returned as 0. Is there a server or client side approach I can use to achieve the node behavior I require?
Thanks,
Michael
I want my treeview nodes to behave slightly differently to the default in that when a node that has child nodes is clicked the postback is disabled and the node is simply expanded. I will be wanting to raise a postback and fire the node click event when a node that does not have child nodes is clicked.
I tried a server side approach on the node data bound event by trying to count the e.Node.Nodes to see if it had children that way but it was always returned as 0. Is there a server or client side approach I can use to achieve the node behavior I require?
Thanks,
Michael