When using the ImageUrl or ImageExpandedUrl properties to render images next to the TreeNodes' text, you should keep into account that the ImageUrl and ImageExpandedUrl properties are relevant to the ImagesBaseDir. In other words, the value set to the ImagesbaseDir property will be pre-pended to the value set to the ImageUrl property.
Example
| |
Copy Code |
|
ImagesBaseDir = "~/Images/"; |
| |
Copy Code |
|
ImageUrl = "Outlook/1.gif"; |
RadTreeView will render the image, which location is :
| |
Copy Code |
|
"~Images/Outlook/1.gif" |