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.

Preventing clicking on checkbox in TreeViewAdv from selecting the node

Thread ID:





5274 Jun 26,2003 04:09 PM Jun 27,2003 01:34 PM Windows Forms 3
Tags: Tools
Warren Schudy
Asked On June 26, 2003 04:09 PM

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 12:05 PM

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 01:09 PM

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 01:34 PM

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.

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.