[转]Add “Atlas” controls to the toolbox
Add “Atlas” controls to the toolbox
The “Atlas” controls don’t get added to the Visual Studio 2005 toolbox by the either the core framework or toolkit installer. Here’s what I did to add them:
-
Create an “Atlas” and “Atlas Control Toolkit” tab on the toolbox by doing a right-click on the toolbox surface and selecting “Add Tab” from the context menu and naming the tab accordingly.
-
Right-click the appropriate tab surface and select “Choose Items…” from the context menu and point to the appropriate assembly
The core “Atlas” assembly, Microsoft.Web.Atlas.dll, is in “C:\Program Piles\Microsoft ASP.NET\Atlas\v2.0.50727\Atlas” directory on my hard drive. Yours may vary based on installation choices. I would recommend IMMEDIATELY removing the WebPartManager and WebPartZone controls from the toolbox. They are not intended to be used directly. See my screencast for how to AJAX enable ASP.NET 2.0 Web Parts with “Atlas.” I cover the configuration settings to use the standard WebPartManager and WebPartZone controls from the Web Parts tab in the toolbox. For the “Atlas” control toolkit, I added the AtlasControlToolkit.dll from “C:\program files\Microsoft ASP.NET\Atlas Control Toolkit\SampleWebSite\Bin” which is where I installed the sample app that demos all of the toolkit controls.
Once you have done this, you should now have both sets of controls in your toolbox.
-Marc
Technorati Tags: Microsoft, .NET, ASP.NET, Atlas, AJAX, Web 2.0