Telerik.Windows.Controls.Charting 2010.3.1314.1040 dll version problem

4 posts, 0 answers
  1. Dhaval
    Dhaval avatar
    17 posts
    Member since:
    Feb 2011

    Posted 07 Feb 2011 Link to this post

    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
  2. Sia
    Admin
    Sia avatar
    667 posts

    Posted 09 Feb 2011 Link to this post

    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>>
  3. DevCraft banner
  4. Dhaval
    Dhaval avatar
    17 posts
    Member since:
    Feb 2011

    Posted 09 Feb 2011 Link to this post

    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
  5. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 10 Feb 2011 Link to this post

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