Web controls in multiple project

V

venky

How can i write a web controls which can be used in multiple projects?
I know from my project i can do add web user control.
If the same web user control i want to use in multiple projects, how do
i share it or whats the best way?

venky
 
B

Buddy Ackerman

How about just copying the files to the new project directory and then
adding them to that project?
 
F

Fabio Cozzolino [MCAD]

You can only duplicate the control or link it into the various
projects. When you add an existing file you can choose "Link File"
(Open button -> Link File on the open dialog) and link the file into
your project. In this way you must recompile all the projects when the
control change.

Alternatively you can create a Web Custom Control.

HTH
ciauz
 

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

Top