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.
Unfortunately, activation email could not send to your email. Please try again.

Event on *every* click on tree node

Thread ID:

Created:

Updated:

Platform:

Replies:

10783 Feb 11,2004 10:16 PM Feb 12,2004 12:37 PM Windows Forms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On February 11, 2004 10:16 PM

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);

Administrator [Syncfusion]
Replied On February 12, 2004 12:37 PM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;