How to make usercontrol available for multiple projects?

I have a set of UserControls on an ASP.NET website that I would like to split into several websites. But it seems that we cannot create a class library in it with UserControls with an ascx file. Although MSDN suggests creating a web control, I would rather find a way to split existing controls, rather than destroy them, to create new web controls.

Is there a way to create a UserControls library?

thank

+3
source share
3 answers
+8
source

. - , , , . :

  • , , " ", "" " ".
+2

Instead, you should use the Composite control. The following is a comparison between web user controls and composite controls:

http://msdn.microsoft.com/en-us/library/aa719735(VS.71).aspx

+2
source

All Articles