How to Create a Web Forms User Control Component

1

I have the following problem, I created a component of the type Web Forms User Control, in it I placed button, grid, the way I want it to be my default register. It works, as long as it's on a page that is on the same project. I would like to create a project called components, because I will have other projects that will use this same master record. Then I created a separate web project called Components, I generated a dll, but when I try to import this dll into my toolbox the message appears:

Searching I found articles talking to create a project of type class library and add the web form user control in it. But it does not appear for me this web forms user control, it only appears resources for windows form.

Does anyone know what I can do in this case?

    
asked by anonymous 12.09.2014 / 16:25

1 answer

1

Use the ToolboxItemAttribute:

link

Source: link

    
12.09.2014 / 18:54