Charting incompatability?

2 posts, 0 answers
  1. Robert Verderber
    Robert Verderber avatar
    33 posts
    Member since:
    Aug 2005

    Posted 27 Jul 2007 Link to this post

    Is there a known compatibility issue with using Telerik Reporting and Charting in the same web application?

    I have an existing web application that uses the Telerik Charting control on a page. The application works great. I tried to add a new web form to the application, with a Report Viewer Control on it. Now I get error when trying to compile the application ‘ChartAxisItem’ is ambiguous in the namespace ‘Telerik.charting’. In total I get about 23 errors, all basically the same (ambiguous) but with different charting properties (ChartSeriesType, ChartSeries, etc) . These errors are on the page that contains the chart. I added a report to the project to assign to the viewer but it’s blank.

    I’m not really sure whats happening or why. I assume it has something to do with the Reports control having chart within it. Anyone have any suggestions?

    Thanks
    Robert
  2. Chavdar
    Admin
    Chavdar avatar
    898 posts

    Posted 30 Jul 2007 Link to this post

    Hi Robert,

    This problem is a well known issue. To work around it you should delete the reference to the Telerik.Charting.dll from the Web Application. If you still want to use charts in the reports then you should build them in a separate class library and reference it instead of directly adding reports to the web application.

    I'm attaching a sample solution for reference. Let me know if you have further questions.

    Regards,
    Chavdar
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
Back to Top