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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreviewNodeAdv with Checkbox

Thread ID:





74392 Jun 10,2008 05:25 PM UTC Jun 17,2008 01:06 PM UTC WinForms 2
Tags: Tools
Administrator [Syncfusion]
Asked On June 10, 2008 05:25 PM UTC

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 12:25 PM UTC

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 01:06 PM UTC

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.

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