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.

TreviewNodeAdv with Checkbox

Thread ID:





74392 Jun 10,2008 01:25 PM Jun 17,2008 09:06 AM Windows Forms 2
Tags: Tools
Administrator [Syncfusion]
Asked On June 10, 2008 01:25 PM

I have a disabled node, that contains a checkbox, the checkbox is grey and disabled, that is perfect. This node has child nodes that are not disabled.

My problem is that the plus/minus sign are disabled as well. Only the doubleclick on node will expand it.
So is there a way to make only the checkbox disabled?

I'm using Essential 5.2


Administrator [Syncfusion]
Replied On June 16, 2008 08:25 AM

Hi Patrick,

Thank you for using Syncfusion products.

Expand and collapse the parent node when it is disabled

You can expand and collapse the parent node which is disabled as follows.


node = this.treeViewAdv1.Nodes[0];
if ( node.Enabled == false)
this.treeViewAdv1.Nodes[0].Expanded = !this.treeViewAdv1.Nodes[0].Expanded;

Please refer the below sample and let me know if this helps you.



Administrator [Syncfusion]
Replied On June 17, 2008 09:06 AM

Thanks, but you should specify that we should use one of the mouse click event and get the selected node by using something like this:
And it works.


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.