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

Help on viewing radchart in lightswitch first time is needed

1 Answer 31 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Oded
Top achievements
Rank 1
Oded asked on 11 Apr 2012, 05:38 PM

Hello 
I get the folloing exception when trying to add the telerik radchart control in the silverlight xaml user control.
I work on lightswitch and added a silverlight userconrol , already added the 3 dlls references to client and client generated projects.
I have folowed the instructions on the word document "Adding RadChart to a LightSwitch Solution" downloded from your site,
but something is missing.
I am stuck at this point and missing something to view the radcontrol. (so far I haven't mange to see any chart)
Thanks alot in advance for your help,
Oded

The exception: System.TypeLoadException  ->  Cannot find type System.Func`5 in module CommonLanguageRuntimeLibrary.

The control XAML:   (in bold the line that cause the exception (adding the radchart control))
<UserControl x:Class="LightSwitchApplication.RadChartControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"> 
  <Grid x:Name="LayoutRoot" Background="White">
<telerik:RadChart x:Name="xRadChart">  </telerik:RadChart>
</Grid>
</UserControl>

1 Answer, 1 is accepted

Sort by
0
Vladimir Milev
Telerik team
answered on 17 Apr 2012, 02:05 PM
Hi,

Make sure you are using our SL4 assemblies if you are trying to run our Lightswitch SL demo.

Kind regards,
Vladimir Milev
the Telerik team

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

Tags
Chart
Asked by
Oded
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question
or