Cannot add custom controls to webform?

Source: Internet
Author: User

A strange situation was found yesterday. The custom control added to the custom control library cannot be added to the webform in any way, but it is only a new control. The old one is OK. This is also true for writing several simplest controls !!

No reason was found after one day. I came back this morning and looked at the DLL file of the referenced control library. I wanted to delete it. The reference of the library file is deleted from the reference, and the control is added to webform. The control is added to the webform as expected, and the DLL is automatically added to the reference.

This is the case. Previously, I did not add a control project to this solution, but copied its DLL file to a DLLs directory in the solution for use. Of course, when a new control is added to the control library, the DLL referenced by the project where the webform is located is not updated. This is the case.

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.