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.

user control advice

hey all,
when i create my user control (not custom control) how do you generally make
it available to other solutions or for other team members to use?

i'm thinking in a new solution, i say "Add an existing item..." and just put
the user control into the project?

thanks,
rodchar
Sep 12 '06 #1
2 1039
If it's going to be shared among other solutions, the best thing to do
is to create a new class library and build your controls as composite
or rendered controls in that project. Then you add that class library
project to your solutions you want to use them in. You will then be
able to use the controls in any project. Does that make sense?

rodchar wrote:
hey all,
when i create my user control (not custom control) how do you generally make
it available to other solutions or for other team members to use?

i'm thinking in a new solution, i say "Add an existing item..." and just put
the user control into the project?

thanks,
rodchar
Sep 12 '06 #2
i haven't yet quite grasped this concept but as soon as i get a chance to try
it i'll report back. thanks.

"mi*******@hotmail.com" wrote:
If it's going to be shared among other solutions, the best thing to do
is to create a new class library and build your controls as composite
or rendered controls in that project. Then you add that class library
project to your solutions you want to use them in. You will then be
able to use the controls in any project. Does that make sense?

rodchar wrote:
hey all,
when i create my user control (not custom control) how do you generally make
it available to other solutions or for other team members to use?

i'm thinking in a new solution, i say "Add an existing item..." and just put
the user control into the project?

thanks,
rodchar

Sep 26 '06 #3

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

Similar topics

1
by: Fresh Air Rider | last post by:
Could anyone please explain why it causes a JavaScript error when I simply add an <asp:LinkButton> to a User Control and then reference and tag that user control within a webform ? I am using...
0
by: keith | last post by:
I have an Window app that load a user control usercontrol1.dll b Assembly assembly=Assembly.LoadFrom("path\usercontrol1.dll") Control ui=assembly.CreateInstance("NameSpace.ClassName) as Control ...
6
by: martin | last post by:
Hi, I am a web page and a web user control. My web user control is placed in my web page using the following directive <%@ Register TagPrefix="uc1" TagName="Header"...
3
by: Matej Kavčič | last post by:
Hello, i have one problem. I use loadcontrol in default.aspx page. On page i have placeholder and on load i with loadcontral load dynamic some user control. Some times i must load same user...
10
by: George G. | last post by:
Hi there, I am busy writing a new asp.net application and I am reusing some of my existing asp functions and methods in a user control. I need access to session, request and response in some of...
5
by: Dave | last post by:
(Second Try) Greetings, I have an asp.net web application that utilizes a User Control at the top of the page. My User Control contains a Server Control menu which will require postbacks. ...
0
by: StraussGuy | last post by:
I have a user control that I've created the function of which is simply to handle data retrieval from an access database. (FWIW, it implements IListSource so that I can bind the control to the...
4
by: Mark | last post by:
I am setting up an asp.net site using the Ektron CMS. Every page in the site uses the same basic template, with the look of the page changing via CSS and an id on the body. The id is shared by all...
2
by: Olie | last post by:
I have a little scinario and I was wondering if someone could point me in the best direction for coding it. I have a custom user control that plays a DVD and it starts another thread that...
5
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hallo, I have a radiobuttonlist control that is added on a custom Web User Control. This control has a property that exposes the SelectedIndex property of the embedded radiobuttonlist. When...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
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.