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

Telerik.Windows.Controls.Charting 2010.3.1314.1040 dll version problem

3 Answers 184 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Dhaval
Top achievements
Rank 1
Dhaval asked on 07 Feb 2011, 11:48 AM
Hi All,

I have created silverlight application using telerik control

Telerik.Windows.Controls.Charting.dll       2010.3.1314.1040
Telerik.Windows.Data.dll                          2010.2.714.1040

i get the runtime error

Pls give me the solution

Thanks,

Error   35   'Telerik.Windows.Data.ISortDescriptor' does not contain a definition for 'Member' and no extension method 'Member' accepting a first argument of type 'Telerik.Windows.Data.ISortDescriptor' could be found (are you missing a using directive or an assembly reference?)   D:\CRM WORKING\Com.Crm.Client.App\Controls\CrmGridView.cs   54   68   Com.Crm.Client.App

3 Answers, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 09 Feb 2011, 09:40 AM
Hi Dhaval,

All binaries which you reference in your application should be the same version. In your case if you need to use RadChart, you need to reference the following dlls:

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

Regards,
Sia
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Dhaval
Top achievements
Rank 1
answered on 09 Feb 2011, 02:14 PM
Hi Sia,

Thanks for your reply but whenever i use all three DLL with same version(2010.3.1314.1040) i get error in Telerik.Windows.Controls.GridView DLL (2010.3.1314.1040)

It's working fine with Telerik.Windows.Controls.GridView DLL (2010.2.714.1040).

public SortOptions GetSortOptions()
        {
            SortOptions sortOptions = new SortOptions();

            sortOptions.Add(GroupDescriptors);
            
            foreach(var sortDescriptor in SortDescriptors)
            {
                var sortOrder = SortOrder.Descending;
               
                if(sortDescriptor.SortDirection == ListSortDirection.Ascending)
                {
                    sortOrder = SortOrder.Ascending;
                }

                var sortCriteria = new SortCriteria(sortDescriptor.Member,sortOrder);
                sortOptions.Add(sortCriteria);
            }

            return sortOptions;
        }       



Error   35   'Telerik.Windows.Data.ISortDescriptor' does not contain a definition for 'Member' and no extension method 'Member' accepting a first argument of type 'Telerik.Windows.Data.ISortDescriptor' could be found (are you missing a using directive or an assembly reference?)   D:\CRM WORKING\Com.Crm.Client.App\Controls\CrmGridView.cs   54   68   Com.Crm.Client.App
0
Veselin Vasilev
Telerik team
answered on 10 Feb 2011, 03:08 PM
Hello Dhaval,

All assemblies should be the same version. We have introduced several breaking changes in Q3 2010 which are described here.
Please review them and make the needed changes in your code.

Kind regards,
Veselin Vasilev
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
Chart
Asked by
Dhaval
Top achievements
Rank 1
Answers by
Sia
Telerik team
Dhaval
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or