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

[Solved] ImageUrl image placement problem

0 Answers 74 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Geoffrey
Top achievements
Rank 1
Geoffrey asked on 06 May 2009, 03:43 PM
I'm adding an image to a node in code-behind like this:

rNode.ImageUrl = "images/icon_navflag.gif" 

However, I find that the image does not appear at the start of the node (i.e., in front of the node text and hyphen), as indicated by the position of '[Image]' in Example 1 below:

Example 1:
[Image] - Node text is here

Instead, the image appears on top of the node text, thus hiding the node text, as indicated by the position of of '[Image]' in Example 2:

Example 2:
- N[Image] is here

Is there a workaround so that I can have the image appear in the position shown in Example 1?

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Geoffrey
Top achievements
Rank 1
Share this question
or