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 - how to preselect multiple nodes

Thread ID:

Created:

Updated:

Platform:

Replies:

5233 Jun 25,2003 02:23 PM UTC Jul 11,2003 10:40 AM UTC WinForms 1
loading
Tags: Tools
Neal Granroth
Asked On June 25, 2003 02:23 PM UTC

The control supports multiple selection but there does not appear to be a programatic way to set the selected state on more than a single node. Setting the SelectedNodes property with an array of nodes "to be selected" causes very odd behavior. Ther must be some other, correct, way to do this. Any hints anyone?

Ramesh Praveen [Syncfusion]
Replied On July 11, 2003 10:40 AM UTC

To select nodes from code you should do this: TreeVireAdv.SelectedNodes.AddRange(some nodes); In order for this to work the TreeViewAdv.MultipleNodeSelection must be set to true. The results might not be visible if the Tree hasn`t got focus. To fix this you should set the HideSelection property to false. Regards, Praveen

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

;