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

Issue with Q2 2012 for Silverlight 4

2 Answers 49 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Akshay
Top achievements
Rank 1
Akshay asked on 26 Jun 2012, 06:27 AM
Hi,
In our project we were using Dev tools release Q2 2011 till now. We upgraded to Q2 2012(DLL's for Silverlight)  RadControls_for_Silverlight4_2012_2_0607_DEV_hotfix.

initially we got an error: "The type or namespace name 'Charting' does not exist in the namespace 'Telerik.Windows.Controls' "

We resolved it by using following method:

1.  Added reference to Telerik.Windows.Controls.Chart.dll.

2.  Replaced namespace Telerik.Windows.Controls.Charting with Telerik.Charting

But now we are getting the following errors:


"The type or namespace name 'ChartArea' could not be found (are you missing a using directive or an assembly reference?)"


"The type or namespace name 'ChartDataBoundEventArgs' could not be found (are you missing a using directive or an assembly reference?)"

Any pointers?


2 Answers, 1 is accepted

Sort by
0
Akshay
Top achievements
Rank 1
answered on 28 Jun 2012, 05:14 AM
Bumping the thread
0
Nikolay
Telerik team
answered on 28 Jun 2012, 07:53 AM
Hello,

The most likely reason for these issues is that the wrong assembly has been referenced. We have introduced the ChartView control, which is in Telerik.Windows.Controls.Chart.dll, whereas you are using RadChart, which is in Telerik.Windows.Controls.Charting.dll. From the post it appears that you have referenced the assembly for ChartView, instead of the one for RadChart, which is what causes the errors.

All the best,
Nikolay
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Chart
Asked by
Akshay
Top achievements
Rank 1
Answers by
Akshay
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or