Fork me on GitHub

AjaxHelper.Pager method

Returns an AjaxPager object which renders a list of hyper links that provide the paging functionality for giver data.
Overload list:
NameDescription
Pager(int totalItemCount, int pageSize, int pageIndex, PagerOptions pagerOptions, MvcAjaxOptions ajaxOptions) Returns an AjaxPager object with total item count, page size, current page index, PagerOptions and MvcAjaxOptions instances
Pager(IPagedList pagedList, PagerOptions pagerOptions, MvcAjaxOptions ajaxOptions) Returns an AjaxPager object with the data object that implements the IPagedList interface, PagerOptions and MvcAjaxOptions instances.
Pager(IPagedList pagedList, PagerOptions pagerOptions) Returns an AjaxPager object with the data object that implements the IPagedList interface and the PagerOptions instance.
Pager(IPagedList pagedList) Returns an AjaxPager object with the data object that implements the IPagedList interface.