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.

TreeViewAdv Selection of a node

Thread ID:





59059 Apr 4,2007 05:01 AM Apr 4,2007 04:15 PM Windows Forms 1
Tags: Tools
Asked On April 4, 2007 05:01 AM

When i check the checkbox, its corresponding node is not getting highlighted. Similarly, when i select a node, its corresponding checkbox is not getting checked. Can anyone let me know the solution for this...

Murugan [Syncfusion]
Replied On April 4, 2007 04:15 PM

Hi Annie,

This could be easily done by handling the AfterSelect mehod of the TreeViewAdv control. Please refer the code snippet below

private void treeViewAdv1_AfterSelect(object sender, EventArgs e)

if (this.treeViewAdv1.SelectedNode.CheckBox != null )
this.treeViewAdv1.SelectedNode.Checked = true;



and let me know if it helps you.

Thanks for using Syncfusion products.

Murugan P.S


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.