DLL Project of user controls

R

Ryu

Hi all,

Is it possible to create a dll project of ascx controls? I have tried
creating a dll project and then adding ascx files. But I cant view them in
design mode. Neither can I attach the its equivalent cs file to it. For
example if i create a new Book.ascx control, I am not able to attach its
Book.ascx.cs to Book.ascx. What did I do wrong?

Thanks and regards
 
J

Juan T. Llibre

Are you think of compiling a web *user* control,
instead of compiling a web *custom* control ?

You compile web *custom* controls.
Web *user* controls are written in code.

See the differences between them at :

Web Custom controls :
http://msdn.microsoft.com/library/d...vbwlkwalkthroughcreatingcustomwebcontrols.asp

Web User Controls :
http://msdn.microsoft.com/library/d...vbwlkwalkthroughcreatingcustomwebcontrols.asp

Here's the set of recommendations for when to create which type :
http://msdn.microsoft.com/library/d...vbwlkwalkthroughcreatingcustomwebcontrols.asp
 
R

Ryu

Thanks for the reply. I was referring to web user controls. Is there a more
convenient way to get its dll file?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top