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

Could not load type 'System.ComponentModel.GroupDescription' from assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

3 Answers 99 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Vipul Chauhan
Top achievements
Rank 1
Vipul Chauhan asked on 05 Oct 2009, 01:08 PM
Kindly help for this exception which occuring at time of statement 

DataServiceQuery

 

<Customers> query = asyncResult.AsyncState as DataServiceQuery<Customers>;

 

 

IEnumerable<Customers> list = query.EndExecute(asyncResult).ToList();

 

RadGridView1.ItemsSource = list;


in EndExecute(IAsyncResult asyncResult) method......

below is whole stack trace of exception....

{System.TypeLoadException: Could not load type 'System.ComponentModel.GroupDescription' from assembly 'System.Windows.Controls.Data, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
   at Telerik.Windows.Data.RecordManager.Initialize(TableDefinition newTableDefinition, Record masterRecord)
   at Telerik.Windows.Data.RecordManager..ctor(TableDefinition tableDefinition, Record masterRecord)
   at Telerik.Windows.Controls.DataControl.get_RecordManager()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.get_FilterDescription()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.InitializeFiltering()
   at Telerik.Windows.Controls.GridView.GridViewDataControl.<OnItemsSourceChanged>b__7(Object sender, EventArgs e)
   at Telerik.Windows.Controls.CursorManager`1.PerformTimeConsumingOperation(FrameworkElement frameworkElement, EventHandler`1 eventHandler, Object sender, EventArgs e)
   at Telerik.Windows.Controls.GridView.GridViewDataControl.OnItemsSourceChanged()
   at Telerik.Windows.Controls.DataControl.OnItemsSourcePropertyChanged(DependencyObject origin, DependencyPropertyChangedEventArgs args)
   at Telerik.Windows.PropertyMetadata.<>c__DisplayClass1.<Create>b__0(DependencyObject d, DependencyPropertyChangedEventArgs e)
   at System.Windows.DependencyObject.RaisePropertyChangeNotifications(DependencyProperty dp, Object newValue, Object oldValue)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value, Boolean allowReadOnlySet, Boolean isSetByStyle, Boolean isSetByBuiltInStyle, PropertyInvalidationReason reason)
   at System.Windows.DependencyObject.SetValueInternal(DependencyProperty dp, Object value)
   at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
   at Telerik.Windows.Controls.DataControl.set_ItemsSource(Object value)
   at SilverlightGridServerPagingSortingAndFiltering.Page.EndExecute(IAsyncResult asyncResult)
   at System.Data.Services.Client.BaseAsyncResult.HandleCompleted()
   at System.Data.Services.Client.QueryAsyncResult.AsyncEndRead(IAsyncResult asyncResult)
   at System.IO.Stream.BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state)
   at System.Data.Services.Client.QueryAsyncResult.AsyncEndGetResponse(IAsyncResult asyncResult)}

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 05 Oct 2009, 01:29 PM
Hi,

You've attempted to use old Silverlight 2.0 version of RadGridView in Silverlight 3.0 application. Please use our current official version instead!

Sincerely yours,
Vlad
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.
0
Vipul Chauhan
Top achievements
Rank 1
answered on 06 Oct 2009, 04:30 AM
Hi,
    Thanks for prompt reply.
    I have downloaded your latest trial version of Radcontrol for silverlight for evaluation and as per documentation RadGridView is supporting for silverlight 3, So it must work with silvelight 3.
    Please help me out do i need to silverlight 2 in my machine or need to download some other rad control?
0
Hristo
Telerik team
answered on 07 Oct 2009, 12:21 PM
Hi Vipul,

Our RadControls for Silverlight are entirely build on Silverlight 3.0. To use them you need the latest official version of our controls and Silverlight 3 installed on your machine. You can download Silverlight 3 from here.

Regards,
Hristo
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.
Tags
Menu
Asked by
Vipul Chauhan
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Vipul Chauhan
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or