meta info

Paging TagHelper Styling

By Ziya Mollamahmut

Paging taghelper has class-* attributes to change the styling, so you can build a themed control (dark, light, etc.)

See all available styling attributes here.

Default style

PagingTagHelper Default Theme

<paging page-no="1"
        page-size="10"
        total-records="30">
</paging>

Dark style

PagingTagHelper Dark Theme

<paging page-no="1"
        page-size="10"
        total-records="30"
        class-page-link="bg-dark text-warning border-secondary"
        class-disabled-jumping-button="bg-dark text-secondary border-secondary"
        class-active-page="bg-warning text-dark">
</paging>

Gray style

PagingTagHelper Gray Theme

<paging page-no="1"
        page-size="10"
        total-records="30"
        class-page-link="bg-secondary text-light border-dark"
        class-disabled-jumping-button="bg-secondary text-dark border-dark"
        class-active-page="bg-light">
</paging>

Applies to versions:

5.x