System.Web.UI.WebControls Namespace Menu Class
.NET Framework version 2.0
Sets or retrieves the alternate text for the image specified in the ScrollUpImageUrl property.
Inline |
<asp:menu scrolluptext = strText ... > |
Script |
Menu.ScrollUpText = strText |
strText |
String specifying the alternate text for the image specified in the ScrollUpImageUrl property. |
The property is read/write with no default value.
Use the ScrollUpText property to specify or determine the alternate text displayed for the image specified in the ScrollUpImageUrl property.
When a dynamic menu item contains additional items at the top of the menu, an image is displayed to indicate that the user can scroll up to view additional menu items. 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.
The following example demonstrates how to use the ScrollUpText property to specify the alternate text for the image used to indicate that the user can scroll up in a dynamic menu.
<asp:menu id = "navigationMenu"
staticdisplaylevels=2
staticsubmenuindent=10
scrolldownimageurl = "~/images/scrolldownimage.jpg"
scrolldowntext = "Down"
scrollupimageurl = "~/images/scrollupimage.jpg"
scrolluptext = "Up"
runat = "server">
<dynamicmenustyle Height=50 />
<items>
...
</items>
</asp:menu>
Menu Members ScrollDownText