Can't get Chart To Work without error

3 posts, 0 answers
  1. heavywoody
    heavywoody avatar
    85 posts
    Member since:
    Oct 2009

    Posted 22 Dec 2009 Link to this post

    I am using RadControls For Silverlight 2009.3.  All the other controls work fine.  But if I add a chart control anywhere, it causes an error of:
    AG_E_UNKNOWN_ERROR [Line: 13 Position: 35] 

    If I drill into the details, it says:

    {System.Windows.Markup.XamlParseException: AG_E_UNKNOWN_ERROR [Line: 13 Position: 35]
       at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
       at CRMDashboard.Controls.MarketingExpeditures.InitializeComponent()
       at CRMDashboard.Controls.MarketingExpeditures..ctor()}

    This happens whether I create the chart in XAML or code.  And I am doing a very basic setup.  Here is the code for my XAML page with no code behind:












    xmlns:Telerik_Windows_Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Charting" x:Class="CRMDashboard.Controls.Test"



    Width="400" Height="300">




    <Grid x:Name="LayoutRoot" Background="White">















    I have tried to remove the Telerik references and readd the references.    I have rebooted.  I simply cannot get a chart to work.  Obviously, it is something on my system or configuration, but I don't know what. I am using Visual Studio 2008 SP1, latest Silverlight Toolkit, RIA.

  2. Giuseppe
    Giuseppe avatar
    2363 posts

    Posted 23 Dec 2009 Link to this post

    Hello Christian Loepp,

    We are unsure why you are experiencing problems with the RadChart control -- the only prerequisite for the correct operation of the control is that your project should have references to the following 3 assemblies:

    • Telerik.Windows.Controls.Charting.dll
    • Telerik.Windows.Controls.dll
    • Telerik.Windows.Data.dll

    We have attached a sample runnable application that works seamlessly on our end -- could you verify if it works on your end as well? Could you open a formal support ticket and send us a sample application that produces the erroneous behavior on your workstation?

    Looking forward to your reply.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. heavywoody
    heavywoody avatar
    85 posts
    Member since:
    Oct 2009

    Posted 23 Dec 2009 Link to this post

    Ok, so the solution you sent me works fine on my box.  In fact, if I create a new Silverligth application, it works fine.  But for some reason, in the configuration I have it doesn't work.  I did submit a ticket with the full project so perhaps you can see what it is clashing with.
Back to Top