Fork me on GitHub

Table - Pager Position

An example showing the pager on both top and bottom of the page by using the pager-position attribute.

Showing 21 to 30 of 100 entries 
IdFirstLastBirth DateEmailFavorite ColorFull Name
21 DriscollHouston1958-10-10 mus.aenean.eget@cras.net
Driscoll Houston
22 MaisieWarner1952-04-10 pellentesque.a.facilisis@rutrum.com
Maisie Warner
23 RhonaPatel1979-07-21 dictum@tristique.edu
Rhona Patel
24 DonovanSheppard1962-07-24 ipsum.sodales.purus@eu.edu
Donovan Sheppard
25 ConnorUnderwood1986-01-04 aliquet.odio@ullamcorperduiscursus.ca
Connor Underwood
26 WandaDuncan1958-06-01 imperdiet@tinciduntcongueturpis.co.uk
Wanda Duncan
27 MorganObrien1956-06-14 enim.nec.tempus@utpharetra.com
Morgan Obrien
28 KeikoVasquez1995-07-12 odio.a@odioetiamligula.co.uk
Keiko Vasquez
29 BenjaminAnderson1960-10-01 mauris.nulla@mifelis.com
Benjamin Anderson
30 JinSavage1991-09-29 semper.auctor@malesuadaintegerid.ca
Jin Savage
Showing 21 to 30 of 100 entries 
Markup
@model IPagedList<.BasicPersonView>
<table class="table" asp-for="@Model" pager-position="@PagerVerticalAlignment.Both" />