Build a pager control by yourself

Source: Internet
Author: User
Currently, in most control libraries, the pager control is bound with the grid. Although it has the design advantages, it is not convenient to use pager separately. I found some source code on the Internet, but I was not satisfied with it. I finally spent a day modifying the code to implement the basic required functions and share them with you.

The pager controls all know what they are,CodeThere are detailed instructions. Note the following:

1. The Goto function has been deliberately canceled because the implementation is meaningless to actual operations;
2. A style sheet is required for use with the pager control. You can refer to and modify the most basic style sheet in the attachment;
3. All style names are fixed and cannot be modified. Modifying style names will only get messy. Of course, style names are randomly placed in any CSS file;
4. You can see the final appearance of the pager control during design, which is relatively convenient.

Source code download: http://files.cnblogs.com/Michael_z/Pager.rar

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.