PagerSettings::PageButtonCount Property
.NET Framework (current version)
Gets or sets the number of page buttons to display in the pager when the Mode property is set to the Numeric or NumericFirstLast value.
Assembly: System.Web (in System.Web.dll)
Property Value
Type: System::Int32The number of page buttons to display in the pager. The default is 10.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The PageButtonCount is set to a value that is less than 1. |
When the Mode property is set to the Numeric or NumericFirstLast value, use the PageButtonCount property to specify the number of page buttons to display in the pager.
The value of this property is stored in view state.
.NET Framework
Available since 2.0
Available since 2.0
Show: