473,395 Members | 2,796 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

share WebUserControls between asp.net projects?

Is it possible to share webuser controls between asp.net projects? If so,
what is the downside to doing this?

Currently, I'm copying objects. I was hoping for a better way.

Thanks,

Craig Buchanan
Nov 18 '05 #1
2 1110
AFAIK, web user controls aren't easily shared. They aren't meant for
this...copying is the best approach, which means you hax nX times the code
to maintain. The only better way I know of is to convert your user control
to a server control.

Karl

"Craig Buchanan" <so*****@somewhere.com> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
Is it possible to share webuser controls between asp.net projects? If so,
what is the downside to doing this?

Currently, I'm copying objects. I was hoping for a better way.

Thanks,

Craig Buchanan

Nov 18 '05 #2
You can compile your code into a composite control although this would still
require copying the dll unless you want to place this in the GAC.

"Craig Buchanan" <so*****@somewhere.com> wrote in message
news:eo**************@TK2MSFTNGP11.phx.gbl...
Is it possible to share webuser controls between asp.net projects? If so,
what is the downside to doing this?

Currently, I'm copying objects. I was hoping for a better way.

Thanks,

Craig Buchanan

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: AARON PECORARO | last post by:
I need to split apart my web application into multiple projects to allow it to be distributed in parts, but all of the projects need to work together (ie. they need to share session information)....
2
by: Brad Wood | last post by:
Using VS2003, I can't add an existing class to a project w/o the IDE creating a copy of it. I want multiple projects to be able to share a central copy of a class. I can't compile the shared...
1
by: Macca | last post by:
Hi, I have a C# Solution/Application that contain 4 projects. Each of these projects needs at some time to access the same database. I would like to know how to share a single connection...
0
by: arkam | last post by:
Hi, I am developping a web app which deals with our customers! This app will be used from many others throught an ASP.NET WebService. My problem is that each of them will have to build their...
2
by: tony | last post by:
hi. is there a way to write several webusercontrols in 1 file ? i want to write 3 diffrent webusercontrol for each table. but i want to see the code in 1 file. is it possible ?
1
by: Raed Sawalha | last post by:
I have a web application with 100 pages and 30 user controls so we decided to separate some pages and controls into sub projects ( the generated subprojects was 2) the problem we have that now the...
2
by: jesusR | last post by:
In VS2003 (framework 1.1 or less) i was shareing my webusercontrols with this procedure: I created a web project (webusercontrol_project) with the web user control, i compiled and everything ok....
14
by: ToddLMorgan | last post by:
Summary: How should multiple (related) projects be arranged (structured) and configured so that the following is possible: o Sharing common code (one of the projects would be a "common" project...
1
by: GenCode | last post by:
I am trying to create a page with many of the same webusercontrols that I can have all my dynamically created and I want each of those webusercontrols to respong to one event on the page. How...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.