[NEWBIE] How to add a custom control to the toolbox!

  • Thread starter Thread starter Jeff
  • Start date Start date
J

Jeff

Hey

In visual studio 2005 I've created a custom control (well I just downloaded
the source code of this control from the Internet, it's a google map
control).

I have no .dll file for this control, but I have it's asp.net source code

I wonder how can I add this control to the toolbox in vs2005, so I easly can
drop the control onto a webpage and use it???

Jeff
 
Jeff,
First you need to make a new class library project and put your source code
for the control into it, and compile it. This will give you your dll
assembly.
Then, you can right - click on the Toolbox, choose Add Items, and browse to
find your control assembly from the /bin folder of your control project.
Peter
 
Back
Top