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

Chart.SeriesMappings.Add - Compiler Error

1 Answer 33 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Emmanuel
Top achievements
Rank 1
Emmanuel asked on 19 Jul 2010, 08:18 PM
I downloaded Q2 2010 Silverlight 4 DLL and tried to use the RadChart control in my VS 2008 Silverlight project.  I am getting this error suggesting that the Method does not exists.

Error   45   'Telerik.Windows.Controls.Charting.ItemMappingCollection' does not contain a definition for 'Add' and no extension method 'Add' accepting a first argument of type 'Telerik.Windows.Controls.Charting.ItemMappingCollection' could be found (are you missing a using directive or an assembly reference?)  

But if I go back to the Q2 2010 Silverlight 3 DLL, then there is no compilation error.  Has there been a changed in the Silverlight 4 version of the DLL?  What code change do I need to make it work on Silverlight 4 DLL.  Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Emmanuel
Top achievements
Rank 1
answered on 20 Jul 2010, 12:05 AM
FIXED.  After I installed VS 2010 and upgraded all my projects to .Net 4.0 and Silverlight 4.0 runtime, the error disappeared.  Thanks.
Tags
Chart
Asked by
Emmanuel
Top achievements
Rank 1
Answers by
Emmanuel
Top achievements
Rank 1
Share this question
or