Nuget MVC PagedList Page Links not working correctly

前端 未结 1 936
醉酒成梦
醉酒成梦 2021-01-15 05:32

I have a simple ViewModel that I want to display as a list page. I followed this tutorial for paging my list page. Heere is my controller code that returns a view with IPage

1条回答
  •  礼貌的吻别
    2021-01-15 06:08

    I used clientside debugging with Chrome and found that there was a javascript function that was disabling all anchors (PreventDefault). As List implements IEnumerable the datasource was fine. Now the Paging is working as expected. The code has always been fine. In case it may help anyone.

    0 讨论(0)
提交回复
热议问题