NextPreviousPagerField::FirstPageText Property
Gets or sets the text that is displayed for the first-page button.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Property Value
Type: System::String^The text that is displayed for the first-page button. The default is "First".
When the ShowFirstPageButton property is set to true, use the FirstPageText property to specify the text to display for the first-page button.
When the ButtonType property is set to ButtonType.Image, the image is displayed and the FirstPageText property acts as the alternate text for the image. On browsers that support tooltips, this text is also displayed as a tooltip.
The value of this property is stored in viewstate, and it can be saved automatically to a resource file by using a designer tool. For more information, see LocalizableAttribute and ASP.NET Globalization and Localization.
The following example shows how to use the FirstPageText property to customize the text for the first-page button of the pager field in a DataPager control.
Available since 3.5