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

4 posts, 0 answers
  1. Vipul Chauhan
    Vipul Chauhan avatar
    2 posts
    Member since:
    Oct 2009

    Posted 05 Oct 2009 Link to this post

    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)}
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 05 Oct 2009 Link to this post

    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.
  3. DevCraft banner
  4. Vipul Chauhan
    Vipul Chauhan avatar
    2 posts
    Member since:
    Oct 2009

    Posted 05 Oct 2009 Link to this post

    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?
  5. Hristo
    Admin
    Hristo avatar
    408 posts

    Posted 07 Oct 2009 Link to this post

    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.
Back to Top