No matter what you use for developmentProgramPages are indispensable. Currently, more and more web applications are developed using Asp.net MVC. The Helper method and controls that help increase development efficiency will appear. Today, I will introduce a paging control used in the Asp.net MVC framework. I used it for the first time in the New Year, but I have never recommended it to anyone. We will also introduce you to the five-day break. I declare that I have nothing to do with Boyang Computer Co., Ltd., but I think this paging control is very useful and has powerful functions. Here it is really just to introduce this paging control.
In addition: http://mvcpager.codeplex.com/releases/view/42912
In addition, there are also a variety of related demos, the above URL can also download a very complete demo.
The demo uses various methods advocated in Asp.net MVC to implement the paging function, including:
1. Standard URL paging Online Demo effect see: http://www.webdiyer.com/Controls/MvcPager/Demo
2. jquery Ajax paging Online Demo effect please see: http://www.webdiyer.com/Controls/MvcPager/AjaxDemo
3. Microsoft Ajax paging Online Demo effect see: http://www.webdiyer.com/Controls/MvcPager/MicrosoftAjaxDemo
4. Use datarow collection paging Online Demo effect see: http://www.webdiyer.com/Controls/MvcPager/DataRowsPaging
5. ASP. net mvc pager page control user-defined information online demonstration effect, see: http://www.webdiyer.com/Controls/MvcPager/CustomInfo
6. mvcpager application CSS style Online Demo effect, please see: http://www.webdiyer.com/Controls/MvcPager/ApplyStyles
7. Keep URL parameters (paging recovery URL parameters) Online Demo effect please see: http://www.webdiyer.com/Controls/MvcPager/UrlParameters? Year = 2009 & month = 12 & author = webdiyer
8. Ajax loading effect paging Online Demo effect please see: http://www.webdiyer.com/Controls/MvcPager/Loading
9. Use custom route table to achieve online paging demonstration effect, see: http://www.webdiyer.com/Controls/MvcPager/CustomRouteTable/employee_1/page_1
10. mvcpager use stored procedure paging http://www.webdiyer.com/Controls/MvcPager/StoredProcedure
11. ASP. NET mvcpager Ajax Exception Handling pagination http://www.webdiyer.com/Controls/MvcPager/AjaxEvents
12. mvcpager uses an input or select page index and redirects to implement paging http://www.webdiyer.com/Controls/MvcPager/PageIndexBox
You can choose the paging method or several paging methods based on your actual situation.
Introduction to mvcpager
The mvcpager paging control is a series of extension methods for implementing the paging function in ASP. net mvc web applications. The initial implementation method of this paging control draws on the popular part of the Internet.Source codeIn particular, scottgu's pagedlist <t> class and related methods. After continuous improvement and improvement by webmasters, it introduces a mature and powerful ASP. net mvc paging solution.
Mvcpager provides the following functions:
- Implement the most basic URL route paging;
- You can manually enter or select a page index and verify the validity of the index;
- Supports implementing Ajax paging using the default Microsoft Ajax and microsoftmvcajax client script libraries of ASP. net mvc Ajax;
- Supports Ajax paging using jquery to generate htmlCodeMore streamlined;
- Supports Ajax paging mode. If the client browser does not support or Disable Javascript, the security downgrade is normal paging.
- The search engine is friendly. Both common pages and Ajax pages can be searched by the search engine directly on all pages.
- Supports ASP. net mvc 1.0 and the latest ASP. net mvc 2.0;
- Supports common browsers such as IE, Firefox, opera, chrome, and safari;
The mvcpager paging control is still being developed and improved. More functions will be enhanced and improved in later versions. We hope you will provide your valuable comments and suggestions during use!
All Chinese documents are available at http://www.webdiyer.com/controls/mvcpager.