System.Web.UI.WebControls.PagerSettings.LastPageImageUrl Property

Gets or sets the URL to an image to display for the last-page button.

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.ComponentModel.DefaultValue("")]
[System.Web.UI.UrlProperty]
[System.ComponentModel.NotifyParentProperty(true)]
public string LastPageImageUrl { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the PagerSettings.Mode property is set to the PagerButtons.NextPreviousFirstLast or PagerButtons.NumericFirstLast value, use the PagerSettings.LastPageImageUrl property to specify the URL to an image to display for the last-page button.

Note:

As an alternative, you can simply display text for the last-page button by setting the PagerSettings.LastPageText property instead of the PagerSettings.LastPageImageUrl property. If the PagerSettings.LastPageImageUrl and PagerSettings.LastPageText properties are both set, the image is displayed with the PagerSettings.LastPageText property acting as the alternate text for the image. On browsers that support ToolTips, this text is also displayed as a ToolTip for the corresponding button.

The value of this property is stored in view state.

Requirements

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