Adding Toolkit Components to your Toolbox
This post should be under the category "you learn something new every day". First, some background. In my earlier years here at MS as a developer, one of the things I wrote was the VS Toolbox support for managed components. You know that gnarly "Choose Items..." dialog? Yeah, I did the ".NET Components" tab of that thing, all the code that surfs the assembly looking for components, as well as the code the manages the items that are on the toolbox and does the funky auto-populate stuff when you build projects.
So I was surprised to learn that there's a very easy way to add your Toolkit items to the toolbox. I'm still fairly mistified that it works. But I digress.
1) Create a tab on your toolbox by right-click then "Add Tab", and name it something creative like, say, "Atlas Control Tooklit"
2) Open the location where you installed the toolkit, and navigate to the "SampleWebsite\Bin" directory.
3) Drag "AtlasControlToolkit.dll" onto the new tab you created.
Like magic, all the Toolkit components will be added to the toolbox!
Comments
- Anonymous
July 14, 2006
Incredible. It really works. Thanks for sharing! - Anonymous
July 15, 2006
This will for any DLL with controls in it, like the RSS Tool Kit, which is awsome BTW! - Anonymous
July 16, 2006
Sean, this is not working for me, and I know this has never worked for me. In fact, this has been a frequent request from me... <g>
Where are you dragging from? Solution Explorer or Explorer? If I drag from SE I get a text snippet link, if I drag from Explorer nothing happens - the drop seems to be ignored completely. - Anonymous
July 17, 2006
Seems to work fine for me. Drag the file AtlasToolKit.dll from WindowsExplorer to the Tab in the toolbox. - Anonymous
July 17, 2006
Odd... certainly doesn't work for me. I wonder if there's something else installed that might have provided that like the Orcas Visual Studio stuff... - Anonymous
July 18, 2006
Hmmm - not sure why it wouldn't work from Explorer. I'm actually not running Orcas bits so I can't say if it's working there or not.