Webdiyer.MvcPager
3.0.0
See the version list below for details.
dotnet add package Webdiyer.MvcPager --version 3.0.0
NuGet\Install-Package Webdiyer.MvcPager -Version 3.0.0
<PackageReference Include="Webdiyer.MvcPager" Version="3.0.0" />
paket add Webdiyer.MvcPager --version 3.0.0
#r "nuget: Webdiyer.MvcPager, 3.0.0"
// Install Webdiyer.MvcPager as a Cake Addin #addin nuget:?package=Webdiyer.MvcPager&version=3.0.0 // Install Webdiyer.MvcPager as a Cake Tool #tool nuget:?package=Webdiyer.MvcPager&version=3.0.0
MvcPager is a free and open source paging component for ASP.NET MVC, it expose a series of extension methods for using in ASP.NET MVC applications, the implementation was inspired by Scott Guthrie's PagedList<T> idea, it was first published in 2009 and had been steadily improved and updated since then. The latest version 3.0 is one the most powerful ASP.NET MVC paging controls.
Project home page:
English: http://en.webdiyer.com/mvcpager/
Chinese: http://www.webdiyer.com/mvcpager/
Online demos:
English: http://en.webdiyer.com/mvcpager/demos/
Chinese: http://www.webdiyer.com/mvcpager/demos/
Documentation:
English: http://en.webdiyer.com/mvcpager/docs/
Chinese: http://www.webdiyer.com/mvcpager/docs/
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
This package has no dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Webdiyer.MvcPager:
Package | Downloads |
---|---|
Kugar.Core.Web
Package description |
|
O2O.Util
asp.net mvc ef |
GitHub repositories
This package is not used by any popular GitHub repositories.
Fixed a bug where MvcPager failed to generate link url for page index box if the current route contains constraint that limits page index to be ingeter;
Fixed a bug where MvcPager failed to initialize in Ajax paging mode if total page count is 1 and PagerOptions.AuthoHide is true;
Fixed a bug where multiple MvcPagers within a single partial view with the same value of PagerOptions.PageIndexParameterName property will trigger multiple http requests in Ajax paging mode;
Added EnableHistorySupport property to MvcAjaxOptions class which is used to switch browser history support in Ajax paging mode;
Added AllowCache property to MvcAjaxOptions class which is used to indicate whether client cache is allowed in Ajax paging mode (default value is true, only works with GET request, ref to the jQuery docs);
Added DisabledPagerItemTemplate property to PagerOptions class which is used to set html template for the disabled pager items;
Added OnPageIndexError property to PagerOptions class which is used to set the Javascript function to call when page index errors occured;
Added HidePagerItems property to PagerOptions class which is used to hide all pager items in case you need to create your own pager UI;
Added PageIndexBoxId and GoToButtonId proerties to PagerOptions class;
Added ActionName, ControllerName, RouteName, RouteValues and HtmlAttributes properties to PagerOptions class, merged actionName, controllerName, routeName, routeValues and htmlAttributes parameters into pagerOptions parameter for HtmlHelper.Pager() and AjaxHelper.Pager() extension methods and adjusted method overloadings accordingly;
Renamed PagerItemWrapperFormatString, NumericPagerItemWrapperFormatString, CurrentPagerItemWrapperFormatString, NavigationPagerItemWrapperFormatString, MorePagerItemWrapperFormatString properties to PagerItemTemplate, NumericPagerItemTemplate, CurrentPagerItemTemplate, NavigationPagerItemTemplate, MorePagerItemTemplate accordingly;
Renamed PagerOptions.MaxPageIndex property name to PagerOptions.MaximumPageNumber;
Removed PageIndexBoxWrapperFormatString and GoToPageSectionWrapperFormatString properties from PagerOptions class;
Removed ShowPageIndexBox, ShowGoButton, PageIndexBoxType and GoButtonText properties from PagerOptions class;
Removed PagerItemsSeperator property from PagerOptions class;
Renamed PagedList.StartRecordIndex to PagedList.StartItemIndex;
Renamed PagedList.EndRecordIndex to PagedList.EndItemIndex;
Disabled pager items will not be hyperlinked (removed <a disabled="disabled"></a>);
Added Options method to HtmlPager class for setting PagerOptions property;
Added Options and AjaxOptions methods to AjaxPager class for setting PagerOptions and MvcAjaxOptions properties;
Added HtmlHelper.LoadMvcPagerScript method which is used to load and initialize MvcPager jQuery plugin via Ajax dynamically;
Refactored and improved code quality of the MvcPager jQuery plugin;
Multi language support (English, Simplified Chinese and Tranditional Chinese);
Added Javascript API for getting properties of MvcPager and jump to specified page;
Added more samples to demo project that covers almost all functionalities of MvcPager;
Added more unit tests;
Support ASP.NET MVC 4.0 and higher versions;