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