System.Web.UI.WebControls.PagerSettings.PreviousPageText Property

Gets or sets the text to display for the previous page button.

Syntax

[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DefaultValue("<")]
public string PreviousPageText { 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.NextPrevious value, use the PagerSettings.PreviousPageText property to specify the text to display for the previous-page button.

Note:

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