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

Problem with my first Telerik Chart

5 Answers 215 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Shoaib
Top achievements
Rank 1
Shoaib asked on 11 Oct 2010, 10:46 AM
Hi,

I am newbie, i am creating a simple chart using Telerik, but i am getting below error message.
"The type or namespace name 'RadChart' could not be found (are you missing a using directive or an assembly reference?)   D:\shoaib\Telerik Chart\Telerik Program\Program1\Program1\obj\Debug\MainPage.g.i.cs "

I have attached screen shots of the error with my post. Any help would be appreciated.
Thanks,
Shoaib Akhtar.

 

5 Answers, 1 is accepted

Sort by
0
Accepted
Giuseppe
Telerik team
answered on 11 Oct 2010, 05:28 PM
Hi Shoaib,

It seems your project is missing reference to the Telerik.Windows.Controls.Charting assembly and that is why you are seeing the described error.


Sincerely yours,
Freddie
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Shoaib
Top achievements
Rank 1
answered on 12 Oct 2010, 10:47 AM
Hi Freddie ,

Thanks for the reply.
I have added the reference, but now i am getting different error message as " The name 'InitializeComponent' does not exist in the current context". Can you please tell me where i am doing mistake.

Thanks
Shoaib
0
Shoaib
Top achievements
Rank 1
answered on 12 Oct 2010, 12:48 PM
Hi Freddie ,

My problem is solved, there was mistakes in my code.
Thanks for your help.

Shoaib.

0
Eric
Top achievements
Rank 1
answered on 08 May 2012, 01:40 PM
This markup

<PlotArea Appearance-Position-Auto="false" 








Causes this error
Error 2 The type or namespace name 'RadChart' does not exist in the namespace 'Telerik.Charting' (are you missing an assembly reference?) 













and your blog forum editor does not appear to support the return key














0
Giuseppe
Telerik team
answered on 11 May 2012, 12:58 PM
Hello Eric,

There seems to be some kind of misunderstanding here -- could you elaborate a bit more whether you are trying to use RadChart for Silverlight or RadChart for ASP.NET AJAX as you have filed your inquiry in the Silverlight forum but the provided markup is applicable only for the ASP.NET AJAX version of the control.

Looking forward to your reply.


All the best,
Giuseppe
the Telerik team

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

Tags
Chart
Asked by
Shoaib
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Shoaib
Top achievements
Rank 1
Eric
Top achievements
Rank 1
Share this question
or