Pagination problem X.Pagedlist

Asked

Viewed 200 times

1

I am trying to implement X.Pagedlist pagination, but on this line:

@Html.PagedListPager(Model, pagina => Url.Action(
    "Index", new { pagina, search = ViewBag.Busca }))

I’m getting the following message:

'IHtmlHelper<StaticPagedList<ApplicationClient>> ' não contém uma definição para 'PagedListPager' e não foi possível encontrar nenhum método de extensão 'PagedListPager' acessível que aceite um primeiro argumento do tipo 'IHtmlHelper<StaticPagedList<ApplicationClient>> ' (there is a directive of use or reference of Assembly missing?)

would know to help me ?

  • Solution for those who need to change @using X.PagedList.Mvc for @using X.PagedList.Mvc.Core in the view

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.