System.Web.UI.WebControls.PagerSettings.LastPageText Property

Gets or sets the text to display for the last-page button.

Syntax

[System.ComponentModel.DefaultValue(">>")]
[System.ComponentModel.NotifyParentProperty(true)]
public string LastPageText { 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.LastPageText property to specify the text to display for the last-page button.

Note:

As an alternative, you can display an image for the last-page button by setting the PagerSettings.LastPageImageUrl property instead of the PagerSettings.LastPageText 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