Main Menu
Knowledge Base
Product Registration
Log an Incident
Request a Feature
Search Incidents/Bug Reports


Search KB

Please note: In an effort to better serve you, we are in the process of restructuring DevCenter. In the process, we have moved many items that you may be used to finding in DevCenter over to the Main Site. If you are having trouble locating something, please try looking at the following places:

Knowledge Base Article: KB09984

HOWTO:Drag-and-drop assemblies to Visual Studio toolbox tabs


The information in this article applies to:
ALL (vAll)
  Article Created: 
7/20/2006

Last Updated:
7/21/2006

Article Type
How To
  
Page Options
Average Rating:
8 out of 10

Rate this page
Print this page
E-mail this page
Add to Favorites

Summary

Occasionally, the Toolbox Utility that is included with NetAdvantage does not successfully update or add the NetAdvantage components to your Visual Studio toolbox tabs. When this happens, you can manually create a tab, and drag the assemblies from another window (such as Windows Explorer) into this new tab to add them to the tab. This will eliminate the inconvenience of trying to select the correct assembly from the "Choose Items" or "Customize Toolbox" dialog, especially for users who have several different volumes of NetAdvantage tools installed.

Step-By-Step Example

In Visual Studio, start by right-clicking the toolbox area and select the option to create a new tab. Name it as you wish; for NetAdvantage controls, the naming convention we use is "NetAdvantage X.X Web/Win", where X.X is the year and volume number. For example, for NetAdvantage for .NET 2006 Volume 2 for CLR 2.0, you could create the following two tabs:
- NetAdvantage 6.2 Web
- NetAdvantage 6.2 Win

Next, in Windows Explorer, navigate to the folder where your assemblies were installed into the Global Assembly Cache, or where the assemblies are saved if they are not installed in the GAC. For NetAdvantage, there are two such locations. Again using NetAdvantage for .NET 2006 Volume 2 for CLR 2.0 as an example, and assuming that it is installed to the default location, you would look in the following two locations:
- C:\Program Files\Infragistics\NetAdvantage 2006 Volume 2 CLR 2.0\ASP.NET\Bin
- C:\Program Files\Infragistics\NetAdvantage 2006 Volume 2 CLR 2.0\Windows Forms\Bin

Select each assembly in this folder; most have the extension "dll". Drag them from Windows Explorer to Visual Studio, and drop them on the toolbox tab you created. An item should be created in this tab for each control and component in each assembly. It is important that the toolbox tab is empty before you drop any assemblies onto it, or the operation will do nothing.

Note: For NetAdvantage for Windows Forms components, you should not include any assembly files that have the word "Design" in them, as these are used for design-time references only. For NetAdvantage for ASP.NET, the Design files are stored in a subdirectory.

Related Articles

HOWTO: How to install and apply a hotfix for NetAdvantage 2007 Volume 2 and later (KB010099)


How would you rate the quality of this content?
Poor -----------------------------------------> Outstanding

Tell us why you rated the content this way. (optional)