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

Custom Attributes in WinForm Treeview

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Christopher
Top achievements
Rank 1
Christopher asked on 03 Nov 2011, 02:18 AM
Hi anyone know if there's an equivalent treeview node custom attributes for winform just like asp.net?  Example:
In ASP.NET code behind:
    - node.Attributes.Add("NODE_ID", dbRow["NODE_ID"].ToString());

If not, is there similar way of adding custom attributes to the treeview node in winform?

Thanks, 

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 07 Nov 2011, 09:53 AM
Hello Christopher,

RadTreeView for Winforms does not support this functionality. You can define some graph of objects and use Tag property of the tree nodes to keep the reference to your business logic.

I hope this information is useful. Let me know if you need further assistance.

Kind regards,

Julian Benkov
the Telerik team

Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

Tags
General Discussions
Asked by
Christopher
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or