asp.net.ph

MenuItem.ImageUrl Property

System.Web.UI.WebControls Namespace   MenuItem Class


.NET Framework version 2.0

Returns or sets the URL to a custom image that is displayed next to the text in a MenuItem control.

Syntax


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

Property Value


strUrl The URL to a custom image that is displayed next to the text of a MenuItem.

The property is read/write with no default value.

Remarks

Use the ImageUrl property to specify an optional custom image for the current menu item in a Menu control.

This image is displayed next to the menu item text and can be in any of the accepted Web image file formats ( .jpg, .gif, .png ).

See Also

MenuItem Members   PopOutImageUrl   SeparatorImageUrl 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