Hi EMRE ANDIC,
There are many ways to accomplish this. However, since I am note really sure what are the requirements of your scenario, I will suggest a couple of approaches.
First, if you have a RadTreeView
that is databound to a business object, you can add a property of type Uri
to that business object. Then in the ItemTemplate
for the RadTreeViewItems
you can add an Image
databound to the value of the Uri
property of your object.
Another approach is to use the DefaultImageSrc
properties of the RadTreeViewItem
and set them in code behind:
Please keep in mind that in order to use the above properties, you also need to set the ImagesBaseDir
property of the RadTreeView
. You can find more information about adding Item images here
Take a look at the project and let me know if this is what you had in mind.
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Public Issue Tracking
system and vote to affect the priority of the items.