This documentation is archived and is not being maintained.

NextPreviousPagerField::NextPageText Property

Gets or sets the text that is displayed for the next-page button.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

public:
property String^ NextPageText {
	String^ get ();
	void set (String^ value);
}

Property Value

Type: System::String
The text that is displayed for the next-page button. The default is "Next".

When the ShowNextPageButton property is set to true, use the NextPageText property to specify the text to display for the next-page button.

When the ButtonType property is set to ButtonType.Image, the image is displayed and the NextPageText 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 NextPageText property to customize the text for the next-page button of the pager field in a DataPager control.

No code example is currently available or this language may not be supported.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: