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

Preventing clicking on checkbox in TreeViewAdv from selecting the node

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?

3 Replies

BM Brad Miller 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.


WS Warren Schudy 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


AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon