EvgenyT
Total Posts:0
Joined:11/23/2024
[quote="savtol"]
1. How to hide/show node on client side. Something like setVisible(bool) for each node on client side.
You can use node.expand() or node.collapse() to show/hide child nodes.
[quote="savtol"]
2. I need to track double clicks on TreeNodes on client, but seems with events supported on client it is not possible. onSelectedNodeChangedHandler fired only once. Is it possble to have something like onNodeClick even that will be fired every time when mouse button is clicked on node text
You can use TreeNode.NavigateUrl property to create a Javascript handler for click.
So you'll need to set something like this
node.NavigateUrl = "javascript:yourNodeClickHandler()"