Try Now
More in this section

Forums / General Discussions / get the description field of a classifiction in code

get the description field of a classifiction in code

2 posts, 0 answered
  1. Phani
    Phani avatar
    9 posts
    18 Mar 2014
    19 Mar 2014
    Link to this post


     I am new to sitefinity, I am looking for a way to the access the description field of the classification in my code.

     Please let me know how I can do that.

     I have written code that gets me all the classifications(hierarchial taxonomy) in the form of a tree that I am binding to a RadTreeView control. 

    Each node has properties like text, navigateURL etc. but no Description. I assume I have to do it differently to get the description field.

    Any help or direction is appreciated.


  2. Pavel Benov
    Pavel Benov avatar
    341 posts
    14 Mar 2016
    24 Mar 2014
    Link to this post
    Hello Phani,

    The HierarchicaltTaxonomy class has a Description property available. Please take a look at our API Reference:


    You can see examples of using the property in our Documentation. I have also attached a sample RadTreeView that uses Categories and displays their Description.

    I hope this helps.

    Pavel Benov
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
2 posts, 0 answered