asp.net.ph

Menu.DynamicPopOutImageTextFormatString Property

System.Web.UI.WebControls Namespace   Menu Class


.NET Framework version 2.0

Returns or sets the alternate text for the image used to indicate that a dynamic menu item has a submenu.

Syntax


Inline <asp:menu dynamicpopoutimagetextformatstring = strValue ... >
Script Menu.DynamicPopOutImageTextFormatString [ = strValue ]

Property Value


strValue The alternate text for the image used to indicate that a dynamic menu item has a submenu.

The property is read/write with no default value.

Remarks

When a dynamic menu item contains a submenu, an image can be displayed to indicate that the user can expand the menu. Use the DynamicPopOutImageTextFormatString property to specify the alternate text for this image. The text that you specify provides assistive technology devices with a description of the image that can be used to make the control more accessible.

This text is displayed as a ToolTip when the user positions the mouse pointer over the image.

There are two ways to display the image:

NOTE: This property applies to both the built-in image and the custom image.

Example

The following example demonstrates how to use the DynamicPopOutImageTextFormatString property to specify the alternate text for the image used to indicate that a dynamic menu item has a submenu.

<asp:menu id = "navigationMenu"
   dynamicdisplaylevels=2
   dynamicsubmenuindent=10
   dynamicpopoutimageurl = "~/images/popout.jpg"
   dynamicpopoutimagetextformatstring = "More..."
   runat = "server">

   <items>
      ...
   </items>

</asp:menu>
See Also

Menu Members   StaticPopOutImageTextFormatString 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