DataServiceDataSource with RadChart

2 posts, 0 answers
  1. Jaime Bula
    Jaime Bula avatar
    45 posts
    Member since:
    Apr 2009

    Posted 01 Sep 2011 Link to this post

    It would be nice to see an example of DataServiceDataSource with the chart control.

    Best Regards,

  2. Rossen Hristov
    Rossen Hristov avatar
    2477 posts

    Posted 05 Sep 2011 Link to this post

    Hello Jaime Bula,

    RadDataServiceDataSource is a control which "brings" data to the client. It does not "know" or "care" who is going to consume this data afterwards -- it could be a grid, a list box or a chart. Or any other items control as a matter of fact.

    Here is an example of RadGridView consuming data from RadDataServiceDataSource. You should be able to easily replace RadGridView with a RadChart or something else that can show collections of data.

    This online sample shows a chart bound to RadDataServiceDataSource's "first cousin" -- the RadDomainDataSource. They have similar API's, so the idea will be absolutely the same and you should be able to easily replace the DomainDataSource from the online example with a DataServiceDataSource.

    To learn more about what the RadDataServiceControl actually is and how to use it, please take a look at my blog post, in case you've missed it.

    Let us know if you have any particular questions regarding RadDataServiceDataSource.

    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top