user control or no user control

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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)
 
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?
 
Back
Top