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

.DataSource doesn't work when I use it :(

1 Answer 54 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Albert
Top achievements
Rank 1
Albert asked on 23 Apr 2009, 05:54 AM
Ive followed some examples and I'm trying to bind at runtime but it wont work :(

I'm using an EntityDatasource by the way.
so its like at page_load

Radchart1.DataSource = EDS;
....
Radchart1.DataBind();

1 Answer, 1 is accepted

Sort by
0
Dessy
Telerik team
answered on 27 Apr 2009, 09:37 AM

Hello Albert,

EntityDataSource is a declarative DataSource control -- this means that in order to bind your EntityDataSource you should set the RadChart.DataSourceID and then call DataBind() method (instead of setting the RadChart.DataSource property).

You can find more information on how to bind sample declarative datasource controls here and here.

Hope this information helps.

Regards,

Dessy
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
Albert
Top achievements
Rank 1
Answers by
Dessy
Telerik team
Share this question
or