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

Charting incompatability?

1 Answer 252 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Robert Verderber
Top achievements
Rank 2
Robert Verderber asked on 27 Jul 2007, 07:25 PM
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

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 30 Jul 2007, 09:04 AM
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
Tags
General Discussions
Asked by
Robert Verderber
Top achievements
Rank 2
Answers by
Chavdar
Telerik team
Share this question
or