NextPreviousPagerField::ShowFirstPageButton Property

 

Gets or sets a value that indicates whether the first-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 ShowFirstPageButton {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

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

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

The value of this property is stored in viewstate.

The following example shows how to use the ShowFirstPageButton property to specify that the first-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: