We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Event on *every* click on tree node

Right now I only get a selected event when I click on a new node in a tree view (i.e. if i click on the same node twice i only get one event). If my tree represents data that is subject to change, like a filesystem then this is no good. Is there a better way of always being informed about clicks other than handling MouseDown and executing the following code. treeFacts.SelectedNode = null; treeFacts.SelectedNode = treeFacts.GetNodeAtPoint(new Point(e.X, e.Y), true);

1 Reply

AD Administrator Syncfusion Team February 12, 2004 05:37 PM UTC

Hi Simon, This is standard behaviour in any TreeView control. What you could do is to clear the selected node when the underlying content changes to address your requirement. Regards Arun

Loader.
Live Chat Icon For mobile
Up arrow icon