This is a migrated thread and some comments may be shown as answers.

Struggling to use RadGauge (free version)

1 Answer 32 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sheryl
Top achievements
Rank 1
Sheryl asked on 15 Dec 2010, 11:28 PM
So, I'm trying to learn Silverlight and seeing how Telerik is offering a free version of their RadGauge, I thought this would be a perfect chance to try to incorporate a gauge in our current web app.

Here's my setup:  Windows 7 running on a 64 bit computer,  VS 2010 Premium, SL 4, no previous versions of Telerik Silverlight controls but we do use the Telerik ASP.NET AJAX controls.

I downloaded the zip file with the Silverlight dll's.  I even made sure that I unblocked the zip file before extracting.

I tried adding the controls to my toolbox. 
I tried referencing them directly from my original extracted location and struggled with that. 
So I moved the 3 dll's to the Public Assemblies folder within VS 2010 and tried to reference from there.
The controls were added but don't have a true icon next to them. 

I thought I would try it anyway so I dragged a RadGauge from the toolbox to my XAML.  So far, so good.
I then tried to drag a RadialGauge into the RadGauge which threw a System.Reflection.Adds.UnresolvedAssemblyException error ( 'cannot resolve assembly:  Telerik.Windows.Controls, Version=2010.2.924.1040 ....').

What did I forget to do?

Sheryl

1 Answer, 1 is accepted

Sort by
0
Bartholomeo Rocca
Top achievements
Rank 1
answered on 21 Dec 2010, 02:55 PM
Hello Sheryl,

RadGauge depends on both Telerik.Windows.Controls.dll and Telerik.Windows.Data.dll so you need to make sure you are referencing them in your project as well (I personally added and referenced all three dlls from a "binaries" folder within my Silverlight application, and then I added them to the toolbox via Choose Items... -> Silverlight Components -> Browse).

Generally I would suggest you to check the online examples (http://demos.telerik.com/silverlight/#Gauge) for guidelines and inspiration as the VS2010 design-time support is rather limited.


Greetings,
Bart.

Tags
General Discussions
Asked by
Sheryl
Top achievements
Rank 1
Answers by
Bartholomeo Rocca
Top achievements
Rank 1
Share this question
or