Problem with my first Telerik Chart

6 posts, 1 answers
  1. Shoaib
    Shoaib avatar
    3 posts
    Member since:
    Oct 2010

    Posted 11 Oct 2010 Link to this post

    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.

     
  2. Answer
    Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 11 Oct 2010 Link to this post

    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
  3. DevCraft banner
  4. Shoaib
    Shoaib avatar
    3 posts
    Member since:
    Oct 2010

    Posted 12 Oct 2010 Link to this post

    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
  5. Shoaib
    Shoaib avatar
    3 posts
    Member since:
    Oct 2010

    Posted 12 Oct 2010 Link to this post

    Hi Freddie ,

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

    Shoaib.

  6. Eric
    Eric avatar
    4 posts
    Member since:
    May 2012

    Posted 08 May 2012 Link to this post

    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














  7. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 11 May 2012 Link to this post

    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 >>

Back to Top
DevCraft banner