Adding Controls To The Visual Studio 2008 Toolbox

N

Nathan Sokalski

I have a control library that contains several controls that I want to add
to the Visual Studio 2008 toolbox for use in Web Applications. I have done
this before, so I know how to do it. However, when I attempt to do it this
time it refuses to add one of the controls. The one control that does not
get added inherits from System.Web.UI.HtmlControls.HtmlAnchor, and I am
wondering if the fact that it is inheriting from an HtmlControl has anything
to do with the fact that it is not being added to the Toolbox. This control
works perfectly fine, and I am able to use it perfectly fine in my Web
Applications, so the code does not have any problems. Why is this control
not being added to the Toolbox like the other controls? Thanks.
 
M

Mr. Arnold

Nathan Sokalski said:
I have a control library that contains several controls that I want to add
to the Visual Studio 2008 toolbox for use in Web Applications. I have done
this before, so I know how to do it. However, when I attempt to do it this
time it refuses to add one of the controls. The one control that does not
get added inherits from System.Web.UI.HtmlControls.HtmlAnchor, and I am
wondering if the fact that it is inheriting from an HtmlControl has anything
to do with the fact that it is not being added to the Toolbox. This control
works perfectly fine, and I am able to use it perfectly fine in my Web
Applications, so the code does not have any problems. Why is this control
not being added to the Toolbox like the other controls? Thanks.

Are you getting any error messages? I reccently addrd the DomainDataSource
Web Control to the Toolbox for a project I was working. The dll for the
control had dependecies to two other DLL's that needed to be in the location
of the DLL I was trying to add to the Toolbox.
 
N

Nathan Sokalski

Not, it is not giving me any error messages, it is simply not adding the one
control almost as if it didn't exist (I almost wish it was giving an error
message, then I would at least have some idea where to start as far as
figuring out what the problem was!).
 

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
474,053
Messages
2,570,431
Members
47,075
Latest member
TysonV438

Latest Threads

Top