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

TreeView Control has flexibility to change the Images at every node why not it is available in RadTreeView?

2 Answers 87 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Medac
Top achievements
Rank 1
Medac asked on 10 Nov 2009, 06:46 AM
Hi,
In asp:treeview control such a flexibility is been provided. Please read the following paragraph.

Customizing the Appearance of the TreeView Control

The TreeView control provides ImageUrl properties such as RootNodeImageUrl, ParentNodeImageUrl, and LeafNodeImageUrl. These custom images are rendered to the left of the node's text. You can override the default image for the node type using the ImageUrl property. The TreeView control also provides CollapseImageUrl and ExpandImageUrl properties for the expanded and collapsed indicators. These are usually represented by plus and minus icons. There is also a property named NoExpandImageUrl that can be used for rendering an image for nodes which have no children. You can turn off the default image using the ShowExpandCollapseboolean property.

In addition to custom images, the TreeView control also supports TreeNodeStyle properties for each node types. These style properties override the NodeStyle property, which applies to all node types. A node can also have a different style applied when it is selected. When Selected property is set to true, the node is selected and the SelectedNodeStyle properties overrides any corresponding unselected style properties for the selected node. It is also possible for you to render check boxes between the node and image by setting the ShowCheckBoxes property to a boolean value. 

Why the same flexible support has not been provided here?
Anybody please provide me a sample where in I can change image URL instead of Plus and Minus symbol in the tree.

Telerik admin please answer my query.

Regards,
Medac

2 Answers, 1 is accepted

Sort by
0
Hari
Top achievements
Rank 1
answered on 11 Nov 2009, 11:35 AM
Can anybody please help me for the below problem
0
Schlurk
Top achievements
Rank 2
answered on 11 Nov 2009, 06:09 PM
Have you tried the Visual Style Builder tool?
Tags
TreeView
Asked by
Medac
Top achievements
Rank 1
Answers by
Hari
Top achievements
Rank 1
Schlurk
Top achievements
Rank 2
Share this question
or