Mvcpager free Open Source paging control version 3.0 released!

Source: Internet
Author: User

Mvcpager 3.0 version in the original 2.0 version on the basis of a large upgrade, Mvcpager script plugin rewrite and a lot of optimizations, fixed some bugs and added the client JavaScript API and other features, the use of more convenient, more powerful features ...

Mvcpager 3.0 Update Description:

Fixed a bug where the use of Constraints on page index parameters in the routing definition prevented the page index text or drop-down boxes from being generated for a skip link;
Fixed the Ajax paging mode, if the first load when the data only one page and not set Autohide=false, then the control does not render any valid HTML tags, resulting in the failure of Mvcpager initialization and subsequent Ajax paging function invalid bug;
Fixed an issue where the same HTTP request was sent multiple times in Ajax paging mode with the same partialview with two or more mvcpager and the same pageroptions.pageindexparametername attribute value;
Mvcajaxoptions new Enablehistorysupport property for Ajax paging when the browser history feature is enabled or disabled, the default value is true;
Mvcajaxoptions new Allowcache property for Ajax paging when caching is allowed (the default is true, disabling caching only works when get commits, see jquery documentation for details);
Pageroptions new Disabledpageritemtemplate property for setting HTML templates for disabled pagination elements;
Pageroptions added Onpageindexerror property to set the JavaScript function to invoke when the page index error occurs, and if not set, the error message pops up by default with alert;
Pageroptions new Hidepageritems property to set whether to hide all pagination elements, developers can create their own paging elements through the client-side JavaScript API and use the GoToPage () method to achieve paging;
Pageroptions adds ActionName, Controllername, RouteName, Routevalues, and Htmlattributes properties, The actionname,controllername,routename,routevalues and Htmlattributes parameters of the original Htmlhelper.pager and Ajaxhelper.pager extension methods are incorporated into Pageroptions genus. , the Htmlhelper.pager and Ajaxhelper.pager extension method overloads are adjusted accordingly;
Pageroptions Properties of Pageritemwrapperformatstring,numericpageritemwrapperformatstring, Currentpageritemwrapperformatstring,navigationpageritemwrapperformatstring,morepageritemwrapperformatstring, Renamed to Pageritemtemplate,numericpageritemtemplate,currentpageritemtemplate,navigationpageritemtemplate, respectively, Morepageritemtemplate
Pageroptions.maxpageindex attribute renamed to Pageroptions.maximumpagenumber;
Removal of pageroptions attribute pageindexboxwrapperformatstring,gotopagesectionwrapperformatstring;
Remove the related properties of the page index box in Pageroptions showpageindexbox, Showgobutton, Pageindexboxtype, and Gobuttontext, Added Pageindexboxid and Gotobuttonid properties to specify page index box and jump button;
To remove the Pageroptions.pageritemsseperator property, use pageroptions.pageritemtemplate= " " if you want to separate the paging buttons with a space {0}  " template to achieve;
Pagedlist.startrecordindex renamed to Pagedlist.startitemindex;
Pagedlist.endrecordindex renamed to Pagedlist.enditemindex;
Disabled paging buttons no longer use hyperlinks (<a disabled= "Disabled" ></a>);
Htmlhelper.pager new Options method, Ajaxhelper.pager new options and Ajaxoptions method;
New Htmlhelper.loadmvcpagerscript method for dynamically loading Mvcpager client script libraries (scripts registered with this method must be included in the <script> and </script> tags), Supports loading and initializing Mvcpager via Ajax;
The Mvcpager client jquery plugin is refactored, adding new features and doing a lot of code optimization and refinement;
Also supports Simplified Chinese, Traditional Chinese and English and other languages, no longer publish the Chinese version and English version separately;
Added client JavaScript API to get pagination control properties and jump to specified page;
Add more sample projects to cover all Mvcpager functions;
Re-created new online help documentation;
Add more server side and client JavaScript unit tests;
Only ASP. NET MVC 4.0 and later are supported;

It also rewrites new help documents, adds comprehensive unit tests, and improves and enriches sample projects.

Official homepage: http://www.webdiyer.com/mvcpager/
Online Demo: http://www.webdiyer.com/mvcpager/demos/
Help Document: http://www.webdiyer.com/mvcpager/docs/

NuGet Package: https://www.nuget.org/packages/Webdiyer.MvcPager/

Source code hosted on GitHub, welcome everyone star and Fork:
Https://github.com/Webdiyer/MvcPager

Mvcpager free Open Source paging control version 3.0 released!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.