System.Web.UI.WebControls.PagerSettings.FirstPageText Property

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

Syntax

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

Note:

As an alternative, you can display an image for the first-page button by setting the PagerSettings.FirstPageImageUrl property instead of the PagerSettings.FirstPageText property. If the PagerSettings.FirstPageImageUrl and PagerSettings.FirstPageText properties are both set, the image is displayed with the PagerSettings.FirstPageText 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