Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / April 2008

Tip: Looking for answers? Try searching our database.

Making web user controls (ascx) available to more than 1 web application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andy B - 24 Apr 2008 18:27 GMT
How do you make ascx controls available to more than 1 web application or
vs2008 project? I tried putting it inside a dll but it wont let me. I
thought there was a project type for web user controls, but can't find it
now for some reason. What should I do?
Juan T. Llibre - 24 Apr 2008 19:19 GMT
Please follow the instructions in this MSDN article :

Turning an .ascx User Control into a Redistributable Custom Control:
http://msdn2.microsoft.com/en-us/library/aa479318.aspx

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
> How do you make ascx controls available to more than 1 web application or vs2008 project? I tried putting it inside a
> dll but it wont let me. I thought there was a project type for web user controls, but can't find it now for some
> reason. What should I do?
Lloyd Sheen - 24 Apr 2008 20:35 GMT
> Please follow the instructions in this MSDN article :
>
[quoted text clipped - 10 lines]
>> controls, but can't find it now for some
>> reason. What should I do?

Thought this might be interesting since I use a bunch of ascx.  I followed
the public instructions using VS 2008 and I get a bunch of .compiled rather
than dll's.  These .compiled files are all 1KB so not a dll.

LS
Lloyd Sheen - 24 Apr 2008 20:40 GMT
>> Please follow the instructions in this MSDN article :
>>
[quoted text clipped - 16 lines]
>
> LS

Sorry did not do all step correctly.  It works.

LS
Juan T. Llibre - 25 Apr 2008 01:09 GMT
re:
!> Sorry did not do all step correctly.  It works.

Indeed, it does.
Glad that you worked out the snag.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================

>>> Please follow the instructions in this MSDN article :
>>>
[quoted text clipped - 18 lines]
>
> LS

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.