asp.net.ph

MenuItem.PopOutImageUrl 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 in a MenuItem control to indicate that the menu item has a dynamic submenu.

Syntax


Inline <asp:menuitem popoutimageurl = strUrl ... >
Script MenuItem.PopOutImageUrl [ = strUrl ]

Property Value


strUrl The URL to an image used to indicate that a MenuItem item has a dynamic submenu.

The property is read/write with no default value.

Remarks

Use the PopOutImageUrl property to specify a custom image that is displayed in a MenuItem to indicate that the menu item has a dynamic submenu.

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

NOTE: Setting this property overrides the image specified by the DynamicPopOutImageUrl and StaticPopOutImageUrl properties.

You can also disable this image in a static menu by setting this property to an empty string and the StaticEnableDefaultPopOutImage property to false. Similarly, you can disable this image in a dynamic menu by setting this property to an empty string and the DynamicEnableDefaultPopOutImage property to false.

See Also

MenuItem Members   ImageUrl   SeparatorImageUrl Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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