Does Telerik RadTreeNode have some sort of tag property ?

4 posts, 0 answers
  1. Seabus
    Seabus avatar
    33 posts
    Member since:
    Jun 2011

    Posted 24 Aug 2011 Link to this post


    I have to create some RadTreeNodes programatically and I was wondering if the nodes have some sort of "tag" property ( like the tag property that controls in windows forms used to have ) ....

    foreach(Student in students)
    RadTreeNode treeNode = new RadTreeNode() { Text = Student.Name, Tag = Student.Id  ??? }



  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 25 Aug 2011 Link to this post

    Hello Seabus,

    The RadTreeview provide custom Attributes which allows to store additional information.

    You can find more on this from the following help article.
    Custom Attributes Overview.

  3. Chris
    Chris avatar
    11 posts
    Member since:
    Feb 2009

    Posted 08 Jan 2017 Link to this post

    These are string attributes. We need a Tag property which is an object, just like nearly every standard component has, including its TreeView component. Telerik components are not supposed to be downgrades compared to what you get for free with Visual Studio.
  4. Ivan Danchev
    Ivan Danchev avatar
    2184 posts

    Posted 11 Jan 2017 Link to this post

    Hello Chris,

    Unlike the TreeNode in Win Forms, the TreeNode object which represents a node in the ASP.NET TreeView does not have a Tag property. You can see a list of its properties here. So there is no downgrade with regard to the functionality the RadTreeView for ASP.NET AJAX offers in comparison with the ASP.NET TreeView.

    Ivan Danchev
    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top