Hi, i would like to get page number of Current page in jQuery or in HTML of the Asp.net MVC PagedList.IPagedList.
@using PagedList.Mvc;
@model PagedList.IPagedList<MyApp.Model.Orders>
How do it get it?
You can get current page number of PagedList.IPagedList by simply using the code as below
@{
var pageNum=Model.PageNumber //Gives Current Page
}
Subscribe to our weekly Newsletter & Keep getting latest article/questions in your inbox weekly