The reason for this error is very simple. You have referenced both the Chart and Charting assemblies. There a class named LineSeries in the Chart assembly, and there is a different class with the same name LineSeries in the Charting assembly. Now, both of these classes are mapped to the Telerik schema, so when you type <telerik:LineSeries /> the XAML parser does not know which of the two you mean. Thus an error occurs. Here the schema is defined like this:
The fix is also very simple. Instead of using the schema, you can use the desired namespace:
The LineSeries is not the only class that the parse will have
problems with. Other classes are also Axis, ScatterDataPoint (DataVis
dll) and perhaps others.
Note that we always suggest that you do not use the old RadChart at all and totally remove the Charting reference from your project.
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>