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

Event on *every* click on tree node

Thread ID:





10783 Feb 12,2004 03:16 AM UTC Feb 12,2004 05:37 PM UTC WinForms 1
Tags: Tools
Administrator [Syncfusion]
Asked On February 12, 2004 03:16 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon