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

Error with Rebind and internal rebind - SeriesMappings property is null

1 Answer 19 Views
Chart
This is a migrated thread and some comments may be shown as answers.
AdaDog
Top achievements
Rank 1
AdaDog asked on 27 Mar 2012, 09:59 PM
Could someone tell me why I might be getting the attached error?  I downloaded to source code (2012.1.326) to catch the exact point when the exception is triggered in the Telerik source.  The code is not checking for SeriesMappings to be null.  Should I modify the source to return from the method if the SeriesMappings property is null?

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 30 Mar 2012, 11:39 AM
Hello,

What you need to do is create your series mappings before trying to databind the chart control. Even if you add a null check, the databinding will not succeed since series mappings are requried for the proper functioning of that feature.

Kind regards,
Vladimir Milev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
AdaDog
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or