NextPreviousPagerField::ShowLastPageButton Property

 

Gets or sets a value that indicates whether the last-page button is displayed in a NextPreviousPagerField object.

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

public:
property bool ShowLastPageButton {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the last-page button is displayed in a NextPreviousPagerField object; otherwise, false. The default is false.

Use the ShowLastPageButton property to show or hide the last-page button of a NextPreviousPagerField object. To show the last-page button, set the ShowLastPageButton property to true.

The value of this property is stored in viewstate.

The following example shows how to use the ShowLastPageButton property to specify that the last-page button should be displayed.

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

.NET Framework
Available since 3.5
Return to top
Show: