Telerik.Windows.Controls.Charting.ItemMappingCollection does not contain a definition for 'Add'

4 posts, 0 answers
  1. balaji
    balaji avatar
    11 posts
    Member since:
    Jul 2010

    Posted 02 Aug 2010 Link to this post

    Hi People,
    Am using Silverlight 3 Trails Hotfix Downloaded from Telerik site.
    Some how am not able to access the Marked Zone class in Telerik.Windows.Charting.dll.
    I have also used the Below code to draw a static line as custom marker.
    But am getting error as below.


    SeriesMapping ValMapping = new SeriesMapping();



    LineSeriesDefinition lineDefinition = new LineSeriesDefinition();


    lineDefinition.ShowPointMarks =



    lineDefinition.ShowItemLabels =



    lineDefinition.ShowItemToolTips =



    ValMapping.SeriesDefinition = lineDefinition;


    new ItemMapping("XValue", DataPointMember.XValue));



    new ItemMapping("YValue", DataPointMember.YValue));




    ValMapping.CollectionIndex = 1;


    The Bolded lines are the errored line.

    My Version of the Dll is  2010.2.714.1030
    Else Can any one give the exact archive of the dll to download.

    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?).

  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 02 Aug 2010 Link to this post

    Hello balaji,

    Make sure you have updated the Telerik.Windows.Controls.dll and Telerik.Windows.Data.dll assemblies from the hotfix as well as they are required for the correct operation of the chart control.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. balaji
    balaji avatar
    11 posts
    Member since:
    Jul 2010

    Posted 02 Aug 2010 Link to this post

    thanks freddie its working
  4. mohit
    mohit avatar
    1 posts
    Member since:
    Jun 2012

    Posted 14 Oct 2010 Link to this post

    Thanks guys!! it solved this issue for me too... Just make sure when you download hotfixs, right version of silverlight app is set in properties of your silverlight project.
Back to Top