lettucebo/X.PagedList.Mvc.Bootstrap4

Boostrap4PagedListRenderOptions Not Found

wheelsm opened this issue · 1 comments

I see this issue occurred in 2018 and was resolved on July 1, 2018. However, I just installed today using NuGet and am having the same issue.

@Html.PagedListPager((IPagedList)Model, page => Url.Action("Index", new { page }), Bootstrap4PagedListRenderOptions.ClassicPlusFirstAndLast)

Bootstrap4PagedListRenderOptions does not exist. I added @using X.PagedList.Mvc.Bootstrap4; to .cshtml but it does not resolve the issue.

Adding @using X.PagedList.Mvc.Bootstrap4.Core; resolved the issue.