This is a migrated thread and some comments may be shown as answers.

Find by tag

1 Answer 157 Views
Treeview
This is a migrated thread and some comments may be shown as answers.
Geert
Top achievements
Rank 1
Geert asked on 22 Dec 2011, 09:25 AM
Hello,

I use the treeview of version 2011 Q1.

I use the automatic databound method to populate the nodes. The source is a dataset with a child/parent structure.
I want to keep this way of processing because it's very fast. When I populate my treeview manually the process time very slow.

This is my code:

treeModules.DataMember = "treeNode";
  
treeModules.DisplayMember = "label";
  
treeModules.ValueMember = "id";
  
treeModules.ParentIDMember = "parent";
  
treeModules.DataSource = dsModuleXml;

Now I want to find a specific node by the tag property. This is not possible, because the function Find searches by name. Why is the name property empty when I use the automatic method?

Can anyone help me, thanks!

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 26 Dec 2011, 03:43 PM
Hello Geert,

Thank you for writing.

You can find the requested information in the following help article: http://www.telerik.com/help/winforms/treeview-working-with-nodes-finding-nodes.html.

A bit off topic, I would like to remind you that your subscription package has expired, which means that you are no longer entitled to our support services. I would highly recommend upgrading your license in order to continue getting product updates and uninterrupted support services. Please, contact sales@telerik.com or visit your account for your upgrading options.

I hope that you find this information helpful. 
 
All the best,
Stefan
the Telerik teamQ3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
Tags
Treeview
Asked by
Geert
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or