Skip to content

PagerTag

Jorn Hendrickx edited this page Feb 9, 2019 · 1 revision

#PagerTag

Form .Net Core 2.0 there is the tag helper PagerTag will be avaible. This will work the same as @html.Pager().

@addTagHelper "*, Gobln.Pager.Mvc"

<pager page="Model.ToPage(1, 2)"
        pager-options="new PagerOptions()
                {
                    UrlDisable = true
                }" />

For an working example, check the test project in .Net Core 2.0

Clone this wiki locally