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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Locking the node....

Thread ID:

Created:

Updated:

Platform:

Replies:

41936 Mar 15,2006 11:34 AM UTC Mar 15,2006 12:40 PM UTC WinForms 1
loading
Tags: Tools
Administrator [Syncfusion]
Asked On March 15, 2006 11:34 AM UTC

Hi, I would like to disable the checkbox or the option button of the node but still I should be able to select and deselect the node i.e., want to lock the checkbox. It may be silly because I am new to TreeView. Any help will be of great use. Thanks, Jay

Deepa TS [Syncfusion]
Replied On March 15, 2006 12:40 PM UTC

Hi Jay, You could disable the checkbox or the option button of the respective node and still you can select and deselect the node by setting the EnabledButtons property to false of the respective treeNodeAdv as given below: private void button1_Click(object sender, System.EventArgs e) { TreeNodeAdv node=this.treeViewAdv1.SelectedNode; node.EnabledButtons=false; } Please take a look at the attached sample and let me know if this helps you. Thanks for using Syncfusion Products. Kind Regards, Deepa.

DisableButtons.zip

CONFIRMATION

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.

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

;