Mel Lota's Weblog

Silverlight, SharePoint and other related technologies

Adding Silverlight Toolkit Controls to the Visual Studio Toolbox

Some great news, the latest version of the Silverlight Toolkit (November 08) has been made available to download on CodePlex. This release includes a host of new controls for Silverlight including TreeView, AutoCompleteBox, DockPanel and one I've been eagerly awaiting - WrapPanel.

Once you've downloaded the toolkit you'll probably want to add the controls to the Visual Studio toolbox. This can be achieved by the following steps:
(Note: I'm doing this on an installation of Visual Studio 2008 SP1 with the latest Silverlight Tools RTW installed)

- Extract the Toolkit zip file to a location on your computer

- Open up a Silverlight project in Visual Studio 2008 SP1

- Open up a XAML file and ensure that the Visual Studio toolbox is visible (if not it can be turned on via View > Toolbox or Ctrl+Alt+X)

- Right click on one of the toolbox headings and select Choose Items... (Note: The dialog took quite a while to load up on my machine)

 

- From the Choose Toolbox Items dialog, click on the Silverlight Components tab and then click Browse. Navigate to the folder where you extracted the Silverlight Toolkit and open the Binaries folder and select one of the assemblies and click Open. In this example I selected Microsoft.Windows.Controls.dll. Then on the Choose Toolbox Items dialog you should see that new controls have been added to the list and preselected (AutoCompleteBox, DockPanel etc.)

- Click OK and you should then see the new controls available in the toolbox.

- Repeat these steps for the other assemblies included with the Toolkit and you're good to go :)

Comments

Community Blogs said:

In this issue: John Stockton, Pierlag, Mel Lota, Ning Zhang, Carole Snyder, Martin Grayson, Jesse Liberty

# October 31, 2008 4:56 PM

David Roh said:

Thank you very much Mel - this saved me a lot of grief.

# November 1, 2008 9:30 AM

2008 November 03 - Links for today « My (almost) Daily Links said:

Pingback from  2008 November 03 - Links for today « My (almost) Daily Links

# November 3, 2008 4:29 AM

divimed said:

My VS2008 crash when i whant to add Silverlight dll's to toolbox.

# November 10, 2008 7:51 AM

John said:

Helpfull blog.

# November 20, 2008 12:59 AM

Chip said:

Thank you! Not sure why this info isn't included in a readme in the toolkit or even an installer that does this programatically.

# December 12, 2008 7:03 AM

Jon Davis said:

@divimed: start Visual Studio from the command line with: "devenv.exe /safemode"

# January 16, 2009 6:37 PM

cluce said:

I followed these exact steps but it deos not add anything to my toolbox. After this- Click OK and you should then see the new controls available in the toolbox.

It seems like it doesnt do anything.

# August 26, 2009 11:36 AM

Links Calendar - September 2009 - Organic text links by date said:

Pingback from  Links Calendar - September 2009 - Organic text links by date

# September 7, 2009 3:48 AM

sesli sohbet said:

Thanks admin

# September 14, 2009 5:09 PM

Satish Verma said:

Thanks you !

# November 7, 2009 2:13 AM

Shubh said:

Yes it is HelpFull !!!

# November 30, 2009 1:15 PM

Sankar said:

Why the controls are grayed after completing all these steps?

# March 26, 2010 5:30 PM

patrick said:

Could not load file or assembly 'System.Window,Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e'.

Silverlight 3 Toolkit October 2009.msi

Dll list as below:

\

System.Reactive.dll

System.Windows.Controls.Data.DataForm.Toolkit.dll

System.Windows.Controls.DataVisualization.Toolkit.dll

System.Windows.Controls.Input.Toolkit.dll

System.Windows.Controls.Layout.Toolkit.dll

System.Windows.Controls.Theming.Toolkit.dll

System.Windows.Controls.Toolkit.dll

System.Windows.Controls.Data.DataForm.Toolkit.xml

System.Windows.Controls.Data.Toolkit.xml

System.Windows.Controls.DataVisualization.Toolkit.xml

System.Windows.Controls.Input.Toolkit.xml

System.Windows.Controls.Layout.Toolkit.xml

System.Windows.Controls.Theming.Toolkit.xml

System.Windows.Controls.Toolkit.xml

\Design

System.Windows.Controls.Data.DataForm.Toolkit.Design.dll

System.Windows.Controls.Data.DataForm.Toolkit.Expression.Design.dll

System.Windows.Controls.Data.DataForm.Toolkit.VisualStudio.Design.4.0.dll

System.Windows.Controls.Data.DataForm.Toolkit.VisualStudio.Design.dll

....

>pls mail to zhaowei7plus@163.com

# October 20, 2010 2:00 AM

zacherie said:

Que palabras... La frase fenomenal, excelente  

http://eru1.myftp.biz/  

cyrus

# August 17, 2011 7:52 PM

easy said:

Bravo, su pensamiento es Гєtil  

http://rsfiles.servehttp.com/  

enzyme

# August 26, 2011 11:36 PM

cheap seo services said:

N001RH Fantastic post.Much thanks again. Great.

# October 7, 2012 6:02 PM

icons collection said:

<a href="jeux.toocharger.com/.../p2.htm It is the valuable information</a>

# October 8, 2012 7:44 AM

AlloDerm Tissue Expander said:

Im grateful for the post.Much thanks again. Keep writing.

# October 9, 2012 1:47 PM

blackhat instagram follower said:

Im grateful for the article post. Cool.

# October 9, 2012 3:21 PM

icons design said:

<a href="www.downloadstock.biz/.../Large-Money-Icons.html"> I am sorry, that has interfered... I understand this question. I invite to discussion.</a>

# October 9, 2012 7:43 PM

buy instagram likes said:

I really enjoy the post.Much thanks again. Really Cool.

# October 9, 2012 11:30 PM

Lawn Service said:

Great post about this. I'm surprised to see someone so educated in the matter. I am sure my visitors will find that very useful.

# October 10, 2012 1:01 AM

orthodontists in columbia md said:

I really liked your article.Thanks Again. Great.

# October 10, 2012 2:32 AM

repair guides said:

Awesome article.Really looking forward to read more.

# October 10, 2012 4:05 AM

Joelle O'Reilly-Hyland said:

Very good blog.Really looking forward to read more. Awesome.

# October 10, 2012 5:39 AM

rare miscrits said:

Major thankies for the blog.Thanks Again. Great.

# October 10, 2012 7:36 AM

solar ventilation said:

Enjoyed every bit of your blog post.Thanks Again. Really Great.

# October 10, 2012 10:54 AM

cell phone tracking service said:

Im obliged for the article.Much thanks again. Want more.

# October 10, 2012 12:31 PM

installation said:

Wow, great blog post. Keep writing.

# October 10, 2012 12:32 PM

SEO Company India said:

Thanks so much for the article. Awesome.

# October 10, 2012 2:11 PM

buy website traffic said:

Great article. Cool.

# October 10, 2012 2:13 PM

hosting said:

Thanks for the post. Want more.

# October 10, 2012 3:50 PM

locksmith said:

I really like and appreciate your blog post.Really looking forward to read more. Keep writing.

# October 10, 2012 3:53 PM

assist digestion and absorption of nutrients said:

Very good article.Much thanks again. Much obliged.

# October 10, 2012 5:28 PM

TrapStep said:

Looking forward to reading more. Great blog article.Much thanks again. Awesome.

# October 10, 2012 7:03 PM

spokane divorce attorney said:

Thanks so much for the blog post.Really looking forward to read more. Will read on...

# October 10, 2012 9:01 PM

Reputable Poetry Contests said:

Very neat article post.Thanks Again. Fantastic.

# October 10, 2012 10:59 PM

zahnimplantate said:

Muchos Gracias for your blog post.Much thanks again. Want more.

# October 11, 2012 12:49 AM

personal growth said:

I loved your article.Really looking forward to read more. Really Great.

# October 11, 2012 12:57 AM

groupon said:

Im grateful for the blog article.Thanks Again. Awesome.

# October 11, 2012 2:47 AM

Austin Web Design said:

Thanks again for the article post.Much thanks again. Cool.

# October 11, 2012 2:56 AM

demolidora said:

I value the blog.Thanks Again. Will read on...

# October 11, 2012 4:54 AM

tutorials said:

Great blog.Really looking forward to read more. Will read on...

# October 11, 2012 6:20 AM

anti said:

Looking forward to reading more. Great blog post.Thanks Again. Really Cool.

# October 11, 2012 6:42 AM

understanding body language said:

Thanks so much for the article.Really looking forward to read more.

# October 11, 2012 6:52 AM

nightclubs nightclub entertainment said:

Thanks for the article.Really looking forward to read more. Keep writing.

# October 11, 2012 8:49 AM