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

TreeViewAdv Selection of a node

Thread ID:

Created:

Updated:

Platform:

Replies:

59059 Apr 4,2007 09:01 AM UTC Apr 4,2007 08:15 PM UTC WinForms 1
loading
Tags: Tools
Annie
Asked On April 4, 2007 09:01 AM UTC

Hi,
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 08:15 PM UTC

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.

Regards,
Murugan P.S

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

;