Find by tag

2 posts, 0 answers
  1. Geert
    Geert avatar
    14 posts
    Member since:
    Feb 2009

    Posted 22 Dec 2011 Link to this post

    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!
  2. Stefan
    Admin
    Stefan avatar
    2891 posts

    Posted 26 Dec 2011 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top