I have a bug about using pagedlistpager in mvc such as:
@Html.PagedListPager(Model, page => Url.Action("Index", new { page = page }), PagedListRenderOptions.OnlyShowFivePagesAtATime)
when I click to the "2" button in the pagedlistpager, it will redirect to controller with method index, but now, I want to it redirect to a function of javascript, how can I do??
Aucun commentaire:
Enregistrer un commentaire