Combined with delegation and Ajax, the open-source user control of the dialog box without refreshing confirmation is implemented.

Source: Internet
Author: User
That is, Ajax. It is not explained. ajaxcontroltoolkit. dll is used.

Use the delegate technology to create an "Event" for our user controls. You can bind an event to the control and call the external interface when an event is executed internally.Code.

Combination of the two = rich UI Experience + strong flexibility.

Makes user controls, keeps open source features, and learns from other aspects to facilitate debugging and expansion.

There are still some imperfections. Please help solve them:
(See the use of source code)
1. If table is not used, a line break will appear during display. Can I add a line break to a webpage like a normal link through internal processing in the user control?
2. when I use GET/set in the user control to set attributes, values can be assigned in the code to display them. During design, values cannot be assigned because labels are not generated. What is the correct method? To modify attributes in the design view in a browser, it is best to modify the attributes in the design view. The text of the user control also changes.
3. How to Write a custom control (DLL) to the web )? Web control cannot be added during custom control design. What should I do if I want to use ajaxtoolkit?
4. the Ajax control bound to datalist cannot obtain the binding property. Is there a one-time feature in datalist? After each item is displayed, the server executes dispose ()? Otherwise, the binding in it alone becomes invalid.

Basic Environment:
. NET Framework 2.0
Iis5 +

Debugging environment:


Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

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: and provide relevant evidence. A staff member will contact you within 5 working days.