System.Web.UI.WebControls Namespace Menu Class
.NET Framework version 2.0
Returns or sets the URL to an image displayed in a dynamic menu to indicate that the user can scroll up for additional menu items.
Inline |
<asp:menu scrollupimageurl = strUrl ... > |
Script |
Menu.ScrollUpImageUrl [ = strUrl ] |
strUrl |
The URL to an image displayed in a dynamic menu to indicate that the user can scroll up for additional menu items. |
The property is read/write with no default value.
Use the ScrollUpImageUrl property to specify an optional custom image to display at the top of each dynamic menu to indicate that the user can scroll up for additional menu items.
NOTE: This property applies only when the height of a dynamic menu is set and the menu's content exceeds the given height or is automatically clipped by the client browser.
You can specify alternate text for the image by setting the ScrollUpText property.
The following example demonstrates how to use the ScrollUpImageUrl property to display a custom image indicating that the user can scroll up in a dynamic menu for additional menu items.
<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 ScrollDownImageUrl