I don't believe you can put UserControls in a dll if they use an *.ascx
file. It sounds like what you want is a custom control, which you can create
by inheriting from something such as Control or CompositeControl, or if you
like one of the existing standard controls. I have never tried doing it and
it is not the way it is usually done when creating a control library dll,
but you can even inherit the UserControl and add the child controls
programmatically. Try doing a little research on how to create controls by
inheriting one of the necessary classes, once you see a couple examples you
should be able to understand it better.
--
Nathan Sokalski
nj********@hotmail.com http://www.nathansokalski.com/
"Andy B" <a_*****@sbcglobal.netwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
How do you keep the user controls in a web application secure? I.e. not
allowing access to them from the outside world. I want to have a dll with
the user controls and secondary code like custom providers and stuff
together in a dll. How do I do this?