RadChart Throw Exception on DataBind()

2 posts, 0 answers
  1. Fakhru
    Fakhru avatar
    37 posts
    Member since:
    Oct 2007

    Posted 27 Jan 2010 Link to this post

    Hi, I have upload example file for this, because I can't describe the detail for error.
    * My bad *

    This apps is display sale in year.
    It's work fine if I navigate from year that have sale (data), but it throw exception if I choose
    another year that has sale (data) from no sale (no data) year.

    Best Regards,
    Fakhru Rahman
  2. Ves
    Ves avatar
    2869 posts

    Posted 29 Jan 2010 Link to this post

    Hello Fakhru,

    It seems there is a problem with the ChartSeries in this case. Please, clear the RadChart.Series collection and re-create the series when changing the value in the ComboBox i.e. add these lines before assigning the chart datasource:

    radChart.Series.Add(new ChartSeries());

    As a side note -- I have edited your message, so that the link is not displayed. Please, do not upload Telerik assemblies to public servers. You can still upload the project -- just remove the assembly from the archive.

    Best regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top