We help IT Professionals succeed at work.

Web User Control in an assembly?

Medium Priority
1,106 Views
Last Modified: 2013-11-07
I have all of my code for a simple ecommerce system I wrote in an assembly and I would like to add the Web user Controls that use the assmbly in the assembly itself.

Can anyone point me to a good tutorial to do this or any suggestions?
Comment
Watch Question

Commented:
The code behind of your User Controls will be compiled into the assembly, but the mark-up (*.ascx) files are not compiled.  For that, you need a Custom Server Control, which composes its output internally.

For information on how to create a User Control library, check out this page:
http://webproject.scottgu.com/CSharp/UserControls/UserControls.aspx

    -dZ.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.