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

SeriesMappings.ItemsSource Error

1 Answer 30 Views
Chart
This is a migrated thread and some comments may be shown as answers.
juan
Top achievements
Rank 1
juan asked on 21 Apr 2011, 09:17 AM
Hi,
I have multi DataTable,
i used   seriesMapping.ItemsSource to  Each DataTable,
Error Messenger happend: argument sourceCollection can't null

I sure each DataTable have data
How can i bind this?

Can give me example,
Thanks in advance

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 26 Apr 2011, 09:16 AM
Hi Juan,

I am afraid there is a bug in this scenario. I have logged it in our public issue tracking system, you can find it and check its resolution here. As a temporary workaround you can convert the DataTable to a list of objects, where only the relevant columns are included and send that list to the SeriesMapping. I have attached a small example showing this.

I have updated your Telerik points for bringing this to our attention.

Best regards,
Ves
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
Tags
Chart
Asked by
juan
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or