Currently utilizing a PagedListPager:
@Html.PagedListPager((IPagedList)Model, page => Url.Action("InboxWithNoReplyListPaging", new { page = page }), PagedListRenderOptions.EnableUnobtrusiveAjaxReplacing(new AjaxOptions() { HttpMethod = "GET", UpdateTargetId = "inboxWithNoReplyList"}))
Exploring ways to enhance user interaction when navigating between pages. At present, the transition from page 1 to subsequent pages lacks visual feedback for users. I have CSS code ready for a spinner display, but unsure how to integrate it with PagedListPager as there is no direct option for that. Attempted using this method:
$('.pagination-container').click(function () {
$("#progress").show();
setTimeout(function () { $("#progress").hide();},5500)
});
However, this approach proves unreliable. Any suggestions or additional code snippets would be greatly appreciated. Thank you in advance.