Chart.SeriesMappings.Add - Compiler Error

2 posts, 0 answers
  1. Emmanuel
    Emmanuel avatar
    2 posts
    Member since:
    Jul 2010

    Posted 19 Jul 2010 Link to this post

    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!
  2. Emmanuel
    Emmanuel avatar
    2 posts
    Member since:
    Jul 2010

    Posted 19 Jul 2010 Link to this post

    FIXED.  After I installed VS 2010 and upgraded all my projects to .Net 4.0 and Silverlight 4.0 runtime, the error disappeared.  Thanks.
Back to Top