System.Web.UI.WebControls.Menu.ScrollUpImageUrl Property

Gets or sets the URL to an image displayed in a dynamic menu to indicate that the user can scroll up for additional menu items.

Syntax

[System.ComponentModel.Editor("System.Web.UI.Design.ImageUrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.Web.UI.UrlProperty]
[System.ComponentModel.DefaultValue("")]
public string ScrollUpImageUrl { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property is not supported in the .NET 4.0 rendering mode. If this property is required, you can set the menu to the .NET 3.5 rendering mode by adding the following in the page's code:

Example

menuInstance.RenderingCompatibility = new Version(3, 5);

Use the Menu.ScrollUpImageUrl property to specify a custom image to display at the top of each dynamic menu to indicate that the user can scroll up for additional menu items.

Note:

If this property is not set, the internal, default image is used.

You can specify alternate text for the image by setting the Menu.ScrollUpText property.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0