System.Web.UI.WebControls Namespace TreeNode Class
.NET Framework version 2.0
Returns or sets the URL to a custom image that is displayed next to the text in a TreeNode control.
Inline |
<asp:treeview imageurl = strUrl ... > |
Script |
TreeNode.ImageUrl [ = strUrl ] |
strUrl |
The URL to a custom image that is displayed next to the text of a TreeNode. |
The property is read/write with no default value.
Use the ImageUrl property to specify an optional custom image for the current node in a TreeView control.
This image is displayed next to the node text and can be in any of the accepted Web image file formats ( .jpg, .gif, .png ).
TreeNode Members