asp.net.ph

Menu.ScrollUpText Property

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.

Syntax


Inline <asp:menu scrolluptext = strText ... >
Script Menu.ScrollUpText = strText

Property Value


strText String specifying the alternate text for the image specified in the ScrollUpImageUrl property.

The property is read/write with no default value.

Remarks

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.

Example

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>
See Also

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