get the description field of a classifiction in code
Hi,
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.
Thanks!
Hello Phani,
The HierarchicaltTaxonomy class has a Description property available. Please take a look at our API Reference:
http://www.sitefinity.com/documentation/ApiReference/webframe.html#topic215451.html
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.
Regards,
Pavel Benov
Telerik