MSPlus-DataList Control

Source: Internet
Author: User

Unexpectedly, I was a little excited to see so many messages when I went home in the afternoon.
In order not to let everyone feel frustrated, I first put the control up for you to see first. It may take some time to create the installation package and protect the code.
Here, I want to declare that I am a personal developer of this WebControl and have no commercial purposes. My goal is to improve the current B/S software development model and reduce the difficulty of software development.

You only need to bind the data source to use this DataList control.
Example:

<PC3: datalist id = "DL1" Width = "550px" Runat = "Server" AllowSorting = "True" PageSize = "10"
AllowPaging = "True" AllowCustomPaging = "false" PrimaryFieldName = "ColA">
<PC3: DataListColumn ColumnType = "CheckBox"> </PC3: DataListColumn>
<PC3: DataListColumn HeaderText = "111" DataField = "ColA" SortField = "ColA" Width = "150">
</PC3: DataListColumn>
<PC3: DataListColumn HeaderText = "222" DataField = "ColB" Width = "50"> </PC3: DataListColumn>
<PC3: DataListColumn HeaderText = "333" DataField = "ColC" SortField = "ColC" Width = "300">
</PC3: DataListColumn>
</PC3: datalist>

Protected MSPlus. Web. UI. WebControls. DataList DL1;
Private void Page_Load (object sender, System. EventArgs e)
{
DataTable Dt = GetBindData ();
DL1.DataSource = Dt;
DL1.DataBind ();
}

You do not need to care about paging, sorting, and processing of selected items. Because these events and functions have been integrated into the control. All you need to do is bind the data source!

The MSPlus DataList control is not developed by inheriting the DataGrid of Microsoft's own body, because it inherits the DataGrid and then simply modifies the rendering of the Render. This WebControl has no meaning. MSPlus DataList inherits directly from WebControl, and the containers of the internal Column and Item sub-controls start from the CollectionBase class extension respectively. All performance and scalability will have many benefits.

I am currently looking for a Demo of this control. I will release it as soon as possible. At the same time, I hope you can help me test it together and provide more valuable comments.
I am also very eager to communicate with colleagues in. NET development to make progress!

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.