I'm adding an image to a node in code-behind like this:
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?
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?