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

RadTreeNode right-side images

1 Answer 57 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Thomas Yanez
Top achievements
Rank 1
Thomas Yanez asked on 02 Sep 2014, 01:12 PM
I'm building a tree dynamically server-side and cannot figure out a way to optionally add an image to the right side of the tree node.

In a regular TreeView, I overrode the TreeNode to handle the RenderPostText() method to allow me to optionally insert my own image in the rendered HTML, but that method does not appear to be supported on RadTreeNode().

I know you can use CSS .rtImg to add a permanent image, but I'm not sure how to use that method server-side (if you even can) to have the impage displayed on only some nodes.

Is there another method I am missing?

1 Answer, 1 is accepted

Sort by
0
Thomas Yanez
Top achievements
Rank 1
answered on 03 Sep 2014, 12:04 PM
Nevermind, I did what I needed to do with a dynamically constructed node template.
Tags
TreeView
Asked by
Thomas Yanez
Top achievements
Rank 1
Answers by
Thomas Yanez
Top achievements
Rank 1
Share this question
or