An example showing the pager on both top and bottom of the page by using the pager-position
attribute.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
46 | Isaiah | Albert | 1950-09-08 | semper.auctor.mauris@phasellusvitae.com | Isaiah Albert | |
47 | Jeanette | Leach | 1955-10-30 | sed.leo@et.com | Jeanette Leach | |
48 | Gretchen | Miranda | 1957-03-31 | eros.turpis.non@duiaugueeu.org | Gretchen Miranda | |
49 | Jorden | Oneal | 1947-09-06 | erat.semper@atvelitcras.co.uk | Jorden Oneal | |
50 | Kieran | Kirby | 1963-09-29 | donec.porttitor.tellus@fuscemilorem.edu | Kieran Kirby |
Markup
@model IPagedList<.BasicPersonView> <table class="table" asp-for="@Model" pager-position="@PagerVerticalAlignment.Both" />