I am unable to run the telerik silverlight controls in a page. I am getting the following error.
Could not load file or assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=3d8c6023c75a3242' or one of its dependencies. The system cannot find the file specified. at Telerik.Windows.Controls.GridView.GridViewItemsControl.DisconnectFromDataEvents()
at Telerik.Windows.Controls.GridView.GridViewItemsControl.ReconnectToDataEvents()
at Telerik.Windows.Controls.GridView.GridViewItemsControl.GridViewItemsControl_Loaded(Object sender, RoutedEventArgs e)
at System.Windows.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args) at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, String eventName)
Here My XAML page Code is:
<
UserControl
xmlns:telerikGridView="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
xmlns:telerikInput="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Input"
xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
x:Class="SLRAMWareWebApp.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Canvas x:Name="LayoutRoot" Width="1200" Height="600" Background="LightGreen">
<controls:Label x:Name="lblLoginID" Content="SELECT LOGIN_ID :" Margin="10,10,0,0"></controls:Label>
<ComboBox x:Name="ddlEmployee" Background="LightCoral" Width="200" Height="30" VerticalAlignment="Top" HorizontalAlignment="Left" Margin="125,5,0,0">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding LoginID}" FontSize="10" VerticalAlignment="Center" Foreground="Black"></TextBlock>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
<HyperlinkButton Content="Home" Click="HyperlinkButton_Click" TargetName="_blank" Margin="330,10,0,0"></HyperlinkButton>
<Grid x:Name="GridLayout" Background="White" Margin="5,40,0,0" Width="500" Height="300" >
<data:DataGrid x:Name="theGrid" Background="LightGreen">
</data:DataGrid>
</Grid>
<!--<Button x:Name="btnNavigate" Content="Navigate to Controls Samples Page" Click="btnNavigate_Click" Margin="10,400,0,0"></Button>-->
<!-- TELERIK CONTROLS-->
<controls:Label Content="Data Bind From DB" x:Name="lblDynamic" Margin="600,40,0,0"></controls:Label>
<telerikInput:RadComboBox DisplayMemberPath="Name" x:Name="ddlDynamic" Width="200" Margin="800,40,0,0"></telerikInput:RadComboBox>
<controls:Label Content="Data Bind Manually" x:Name="lblManual" Margin="600,10,0,0"></controls:Label>
<telerikInput:RadComboBox x:Name="ddlManual" Width="200" Margin="800,10,0,0"></telerikInput:RadComboBox>
<controls:Label x:Name="lblRadGrid" Content="Rad Grid Control :" Margin="600,80,0,0"></controls:Label>
<telerikGridView:RadGridView x:Name="grdProducts" ScrollMode="RealTime" Grid.Row="1" ColumnsWidthMode="Auto" Margin="600,100,0,0" Width="500"></telerikGridView:RadGridView>
<!--ENDS HERE-->
</Canvas>
</
UserControl>
Can anbody please help me on this ASAP.