user control or no user control

G

Guest

hey all,
i have a cold case here:

my original question was this:
"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"

and then the reply i got was this:
"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. "

Did the reply mean to not use a web user control and just "create a new
class library and build your controls as composite or rendered controls in
that project"
If so, how do you do this?

thanks,
rodchar
 
B

bruce barker

there is nothing wrong with sharing source files. c/c++ has done this
for years. its tried and true.

the best approach is to use source control for sharing. create a shared
folder for shared user controls. link the desired controls to the
current project. if you want to share a new control, just link to the
shared folder.

-- bruce (sqlwork.com)
 
G

Guest

in the original post what did the reply mean by:

"build your controls as composite or rendered controls"

how do you do something like this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,904
Latest member
HealthyVisionsCBDPrice

Latest Threads

Top