asp.net.ph

TreeNode.ImageUrl Property

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.

Syntax


Inline <asp:treeview imageurl = strUrl ... >
Script TreeNode.ImageUrl [ = strUrl ]

Property Value


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.

Remarks

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 ).

See Also

TreeNode Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph