473,781 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sharing usercontrols in a large dev team.

Hello,

We need to share the same user controls among many developers in the
same project. How do we achieve this? We have looked into using Custom
controls, but they have a very high development time & at times can be
complicated.

How can we have a set of user controls, say in a separate project, and
make use of it from there instead of copying the controls to each
individuals project & then using it? We are VS.NET 2003 if its of any help.

Please somebody enlighten us here as we are having a lot of problem in
code sharing.

thank you,
ajeet
Nov 18 '05 #1
2 1081
"Ajeet YS" <ya****@firstam .com> wrote in message
news:eg******** ******@TK2MSFTN GP11.phx.gbl...
Hello,

We need to share the same user controls among many developers in the
same project. How do we achieve this? We have looked into using Custom
controls, but they have a very high development time & at times can be
complicated.

How can we have a set of user controls, say in a separate project, and
make use of it from there instead of copying the controls to each
individuals project & then using it? We are VS.NET 2003 if its of any help.
Please somebody enlighten us here as we are having a lot of problem in
code sharing.


You cannot share user controls across projects. They are made to be simple,
not flexible.

If all developers are working on the same project, you can put the user
controls in the same project as the developers are working on. Perhaps you
meant to say that the developers are all working on different projects?

Finally, you should take a look at composite controls. See Developing a
Composite Control
(http://msdn.microsoft.com/library/de...-us/cpguide/ht
ml/cpcondeveloping compositecontro ls.asp). These can be a step between user
controls and full-blown custom controls.
--
John Saunders
johnwsaundersii i at hotmail
Nov 18 '05 #2
HOW TO: Share ASP.NET Pages and User Controls Between Applications by Using
Visual C# .NET:

http://support.microsoft.com/default...;EN-US;Q324785
I'm having trouble getting this to work when the shared controls are on a
different machine, but otherwise it works fine....

"Ajeet YS" wrote:
Hello,

We need to share the same user controls among many developers in the
same project. How do we achieve this? We have looked into using Custom
controls, but they have a very high development time & at times can be
complicated.

How can we have a set of user controls, say in a separate project, and
make use of it from there instead of copying the controls to each
individuals project & then using it? We are VS.NET 2003 if its of any help.

Please somebody enlighten us here as we are having a lot of problem in
code sharing.

thank you,
ajeet

Nov 18 '05 #3

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

Similar topics

36
6401
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but something I'll need in this case is some experience-based set of rules about how to use python in this context. For example... is defining readonly attributes in classes worth the hassle ? Does duck-typing scale well in complex
1
1951
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies across them. Is it best to share the project and its files to each solution (each solution has it's own shared project), or have each solution point to the same file location of the project?
2
1247
by: Picander | last post by:
hello, I am developing a boardgame, with a large number of customed usercontrols ( e.g. 20 X 20 = 400 ). I find it very usefull to use usercontrols, as they can contains specific properties and methods, but it makes the application very slow to redraw, even if I redraw only a small subset of them. Is there a way to speed up the drawing time? I included in my codes those lines:
3
2852
by: Robert W. | last post by:
I'm embarking on a project that will have both a desktop application and a Pocket PC application. It seems logical to have as much code as possible sitting in a shared project, which would be referenced and utilized by both the Windows Forms application and the Mobile Device application. Are there any "gotchas" (ie. warnings) that anyone knows about in following this approach? Robert W. Vancouver, BC
3
1169
by: darrel | last post by:
Is it practical? I have a site we've been working on where a lot of the objects on the page are usercontrols...the header, the footer, navigation, etc. I need to make a stand-alone mini-site that should not be connected to the larger project, as it will be maintained by a different group by hand. So, I was just going to copy over a few of the controls and place them in here. Of course, that's easy, but not ideal, as now I have...
4
1650
by: Anders K. Jacobsen [DK] | last post by:
Hi I have some common UserControls i want to share between to sites (on the same mashine but on diffrent virtual paths). right now i have on solution file with aprox 10 projects. 2 of these is webprojetcs wich need to shere some common userControls. Optimally i want a class libarary project wich contains the controls so i could import the DLL and use the controls. But that of course doesnt work.
1
1179
by: Anders Borum | last post by:
Hello! I was wondering if I am the only person missing the option of outputting a single dll for a website (just like the good old v1.1 compilation model)? What I'm looking for is the ASP.NET framework to keep away from creating random namespaces for each directory. The new build projects from the Microsoft team shows promising, but I am not aware if the compilation model is flexible enough to allow the "old" model ..
1
1344
by: Jav | last post by:
Using Asp.Net 2.0 I need to acquire rather large amounts of data from the user in my Web App. I have created UserControls to handle different aspects of this data. Placing these UserControls on the different steps of a Wizard is becoming problematic, however. If I drag a UserControl onto a step it gets added at position 0,0 and cannot be moved. I can place an Html Layer on the wizard step and then drag the control into it. However, at...
5
1455
by: Gregory Gadow | last post by:
All done in ASP.Net 2.0 using VB... The website I am developing has a large DLL that includes custom MembershipUser, MembershipProvider and RoleProvider classes, several frequently used web controls, custom base classes for Master and Page objects, so on and so on. All of this was done on my main dev machine, which I've also been using to write the website. On the dev machine, the DLL references compile Just In Time with no errors....
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10143
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10076
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.