Divelements
Because everything starts with the presentation layer
Products
 Wednesday, April 04, 2007, 1:03 AM   Home Products Licensing Store Support Articles 
Installing Controls
Home / Products

Because of the xcopy deployment paradigm that emerged with .NET, installation of the controls found on this site is made easy. Assuming you have already downloaded an archive containing the control you are interested in, follow the steps below to begin using the control as fast as possible.

  1. Create a suitable directory for the control

    There should already be a location where you keep the .NET components you use. If not, now would be a great time to create one.

  2. Unpack the necessary files to the directory

    You should extract the control binary, the license agreement, the readme.txt file and any relevant documentation (.chm and .xml files) to the directory you already created.

  3. Add the control to your toolbox

    Within Visual Studio, right-click on the toolbox and choose Add/Remove Items. From the resultant dialog press the Browse button and locate the control binary you just installed. Hit OK, and the components within the control binary will be added to your Visual Studio toolbox.

When you first drop a control on your form, an assembly reference is added to your project, referencing the control binary. By default its "Copy Local" property will be set, indicating that when your project is built Visual Studio should copy the control binary to the folder with your primary output. That is all that is required to deploy the controls with your application.

Why not use the Global Assembly Cache (GAC)?

Although all the controls obtainable from this site are signed and capable of being added to the GAC, it is best practice to avoid doing so. The GAC should be left for much larger assemblies where side-by-side version control is paramount, such as the .NET runtime classes themselves.

How do I uninstall the controls?

Because there is no registration of .NET assemblies, uninstalling the controls is as easy as deleting the folder containing them. Make sure you also remove the entries from the Visual Studio toolbox.

Design and content Copyright © 2003 - 2006 Divelements Limited. Content may not be reproduced without permission.