BootstrapPager Class
Represents a pager control.
Namespace: DevExpress.Web.Bootstrap
Assembly: DevExpress.Web.Bootstrap.v24.2.dll
Declaration
[DXClientDocumentationProviderWeb("BootstrapPager")]
[ToolboxTabName("DX.24.2: Bootstrap Controls")]
public class BootstrapPager :
ASPxPager,
ISimpleRenderControl
Remarks
Note
This control doesn’t implement any public client-side API.
Example
This example demonstrates the basic functionality of the Pager control.
- Initialize a new instance of the
BootstrapPager
class. - Specify the total number of Pager items using the ASPxPagerBase.ItemCount property.
- Assign the maximum number of numeric buttons that can be displayed within a pager to the ASPxPagerBase.NumericButtonCount property.
- Enable the BootstrapPageSizeItemSettings class’s Visible property to display the Page size box.
The image below shows the result:
<dx:BootstrapPager runat="server" NumericButtonCount="8" ItemCount="91">
<CssClasses PageNumber="d-none d-sm-block" Ellipsis="d-none d-sm-block" Summary="d-none d-xl-block" />
<PageSizeItemSettings Visible="True"></PageSizeItemSettings>
</dx:BootstrapPager>
Inheritance
See Also