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.

Possible to add Web User Control to a Web Control Library?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian Cryer - 31 Mar 2008 17:07 GMT
VB.NET, Visual Studio 2005, .NET Web Application.

Having created a Web Control Library is it possible to add a Web User
Control to it? I don't get the option to create a new web user control, and
if I copy one from my web application it doesn't then compile. So is it
possible? Is there a workaround or do I need to keep web user controls in
the application rather than a library?

Thanks.
Alvin Bruney [ASP.NET MVP] - 02 Apr 2008 02:51 GMT
Well, typically, a web user control would need a code behind/beside file.
You can then add a class library to the project which essentially gives you
what you want.

Signature

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------

> VB.NET, Visual Studio 2005, .NET Web Application.
>
[quoted text clipped - 5 lines]
>
> Thanks.
Brian Cryer - 02 Apr 2008 10:19 GMT
Thank you Alvin. Telling me it should be possible is nice, but I was hoping
for the "how" part.

My question remains of how to add these to a web control library? If I drop
them in they stop working and I don't get the option to create a web user
control in a web control library, so is it possible and if so how?

> Well, typically, a web user control would need a code behind/beside file.
> You can then add a class library to the project which essentially gives
[quoted text clipped - 9 lines]
>>
>> Thanks.

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.