Self-developed ASP. NET paging control 2.0 (Ling. pager)

Source: Internet
Author: User

ASP. NET paging control 2.0 (Ling. pager)

Main features:

Built-in paging class library perfectly supports complex SQL Paging
Supports event paging and URL paging (non-event)
Supports the default, Chinese, and English language modes.
The default beautiful and concise CSS style
Support for Microsoft Ajax
You can customize CSS styles.
You can set the language or paging format at will.
You can enter page numbers to redirect pages.
Supports pagination in the drop-down box
Supports convenient and intuitive operations such as dragging controls and property editing, and double-clicking to generate paging events.
Free trial
More features are waiting for your experience.

 

The properties of the control are as follows:

-- Must be assigned a value --
Records: Total number of records (values must be assigned)

-- Configurable --
Cssclass: CSS style. The default class = "page" Style
Pagelanguage: display style: 0-default, 1-Chinese, 2-English, Other Default
Pagesplitnum: The number displayed on the current page.
Pagesize: How many records are displayed per page
Showpagenum: Show numeric navigation: True-show (default), false = not show
Showprenext: whether to display the previous page. Next page: True-Display (default), false = Not Displayed
Showpagego: whether to display the input page number jump: True-show, false = not show (default)
Showpagejump: show down box jump: True-show, false = not show (default)
Showpagetips: whether to display the current page, number of records, and other information
Languagefirsttext: Text of "Homepage"
Languagelasttext: Text of the "Last page"
Languagepretext: Text of "Previous Page"
Languagenexttext: "Next page" Text
Languagegotext: Text of the jump button
Languagetipstext: prompt text. The following variables can be used: {pageindex} indicates the current page, {pagetotal} indicates the total number of pages, and {pagesize} indicates the number of records on each page, {records} indicates the total number of records.

-- Readable --
Pageindex: Current page number
Pagetotal: Total number of pages
The method of the control is as follows:

Public datatable pagelist () // encapsulated read page list, multiple overload Functions
Public bool setshortagetext (languageitem item, string text) // sets the language text, which has the same effect as languagetipstext, languagefirsttext, and so on (at the same time, the method has a high priority ).
Extension class library method:

Ling. Pager. dbhelper. pagelist () // extends the paging method of the class library. It perfectly supports complex SQL paging and multiple function overloading.

 

Click to download: ASP. NET paging control 2.0 (Ling. pager)

 

 

Author: Liu Fuling
Version: 2.0.0.915
Release date: 2012.09.15
: Http://www.liufuling.cn/category/down/

 

 

Related Article

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.