Adding Controls To The Visual Studio 2008 Toolbox

  • Follow


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.
-- 
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/ 

0
Reply Nathan 3/20/2010 5:16:35 PM


"Nathan Sokalski" wrote:

> 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.
0
Reply Utf 3/22/2010 1:44:01 PM

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!).
-- 
Nathan Sokalski
njsokalski@hotmail.com
http://www.nathansokalski.com/

"Mr. Arnold" <No@No.com> wrote in message 
news:CFBB6A19-D83C-47E8-97E2-02205C8A353D@microsoft.com...
>
>
> "Nathan Sokalski" wrote:
>
>> 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. 

0
Reply Nathan 3/22/2010 2:43:45 PM

2 Replies
621 Views

(page loaded in 0.01 seconds)

6/14/2014 8:11:27 PM


Reply: