Why do you need to write controls on your own instead of using mature controls on the Internet (continued: source code)

Source: Internet
Author: User
Why do I need to write control pages on my own without using sophisticated controls on the Internet? In this article, I have explained in the form of a specific instance that I did not need to use popular controls on the Internet to develop my own

Of course, this is based on the fact that others' controls cannot meet their own requirements.

 

BecauseArticleCodeToo long, leading to slow webpage loading. For this reason, I have made up my source code. If you are interested, please study it.

 

The updated control has the following features:

 

 1: supports URL pagination, such as ULR. aspx? Page = 1
2: supports trigger of the send-back button.
3
4: Two style controls are supported: English and Chinese.
5. formats can be automatically applied.
6: You can select whether to customize a style. If you do not select a style, the default style is not loaded.


7: You can select whether to display statistics. For example, page times: 1/1 total records: 50

 


Note:
Due to the time, it is best to set most of the properties of this control on the HTML page. It is best not to set them in CS. Because of the issue of sending back, I only process one attribute, that is, the total number of records. This attribute must be implemented in the code, and I will not implement it for others. If I want to use it, I may change it myself.

Source code after update 08-4-16

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.