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.

Tree View Multiple node selection

Thread ID:

Created:

Updated:

Platform:

Replies:

61455 May 25,2007 11:52 AM May 25,2007 02:15 PM Windows Forms 1
loading
Tags: Tools
abhi
Asked On May 25, 2007 11:52 AM

Hi
I am using Syncfusion Essential Studio latest version, 5.1. I am using Tree view control, now i want to expand multiple nodes at a time, If users selects a node it should expand, now if user selects another node, That should expand and the first node too should remain exopanded. How to achieve this.

Thanks.

Murugan [Syncfusion]
Replied On May 25, 2007 02:15 PM

Hi Abhijeet,

Multiple nodes could be expanded, when more than one node is selected, by using the Expand() method of the TreeNodeAdv.

[Code]
private void treeViewAdv1_BeforeSelect(object sender, Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableSelectionEventArgs args)
{
foreach (TreeNodeAdv node in args.SelectedNodes)
{
node.Expand();
}
}

[Sample]
http://websamples.syncfusion.com/samples/Tools.Windows/F61455/Main.htm

Please refer to this and let me know if it meets your requirements.

Thank you for your interest in 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.

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.

;