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

Preventing clicking on checkbox in TreeViewAdv from selecting the node

Thread ID:





5274 Jun 26,2003 08:09 PM UTC Jun 27,2003 05:34 PM UTC WinForms 3
Tags: Tools
Warren Schudy
Asked On June 26, 2003 08:09 PM UTC

When the user clicks on the checkbox belonging to a TreeNodeAdv that is not currently selected, the node owning the clicked checkbox gets selected. Is there any way of preventing the selection from changing in this case?

Brad Miller
Replied On June 27, 2003 04:05 PM UTC

It also seems to change the selection when expanding a node. So if you have one node selected, then click on the + to expand another node, the selection moves to the newly expanded node. The MS TreeView doesn't seem to do that by default.

Warren Schudy
Replied On June 27, 2003 05:09 PM UTC

Looking at the source, it appears that the problem is caused by TreeViewAdv.GetNodeAtPoint(Point p, bool textBounds) ignoring its second parameter (Code that considers that parameter is commented out). In effect, FullRowSelect is always on as far as selecting nodes is concerned. -wjs

Administrator [Syncfusion]
Replied On June 27, 2003 05:34 PM UTC

Warren, Brad, Thanks for the feedback. We are looking into this and will post an update here early next week. Thank you for choosing Syncfusion. Best regards, Daniel Syncfusion, Inc


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