We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Downgrape to xamarin 2.1

Thread ID:

Created:

Updated:

Platform:

Replies:

125324 Aug 8,2016 08:13 PM UTC Aug 11,2016 05:51 AM UTC Xamarin.Android 6
loading
Tags: SfDataGrid
Miguel Arenas
Asked On August 8, 2016 08:13 PM UTC

HI I just start using this new controls, i started with SfDataGrid; and I have the following error: 
System.TypeLoadException: Could not load type 'Xamarin.Forms.ElementTemplate' from assembly 'Xamarin.Forms.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null'.

is this a xamarin version problem?

how can downgrade to a xamarin correct version ?

Divakar Subramaniam [Syncfusion]
Replied On August 9, 2016 06:48 AM UTC

Hi Miguel, 
 
Thank you for contacting Syncfusion Support.

Yes, this is a Xamarin version problem. This error usually occurs when there is a mismatch of Xamarin NuGet packages between your sample and SfDataGrid assemblies. Our 14.2.0.28 version of release supports Xamarin NuGet of version 2.3.0.49. Xamarin recommends the NuGet packages to be inline in order to avoid potential issues. So please uninstall all the other version of NuGets and use 2.3.0.49 version in your sample. Clean and rebuild the project before running it.
 
 
You can see the software requirements of Syncfusion controls from our read me information.
ReadMe link:
http://files2.syncfusion.com/Installs/v14.2.0.28/ReadMe/Xamarin_Forms.html  
 
Please uninstall all the Xamarin NuGet packages installed in your sample and then install 2.3.0.49 version Xamarin NuGet packages which is available in “Manage NuGet packages” option in properties section of your sample. 
 
Regards, 
Divakar. 


Miguel Arenas
Replied On August 9, 2016 10:52 PM UTC

Thank you for help.

Now the aplication run without erros, but doesn;t show nothnig in the screen, it show a white screen.

This is the sample code that i'm using.
https://help.syncfusion.com/xamarin/sfdatagrid/getting-started

here is part of the code, i think i missing some code:


        SfDataGrid dataGrid;
        public App()
        {
            dataGrid = new SfDataGrid();
            dataGrid.ItemsSource = new OrderInfoRepository().OrderInfoCollection; //viewModel.OrderInfoCollection;
            //OrderInfoRepository viewModel = new OrderInfoRepository();
            
            
            MainPage = new ContentPage { Content = dataGrid };
        }


Divakar Subramaniam [Syncfusion]
Replied On August 10, 2016 10:33 AM UTC

Hi Miguel, 
 
Thank you for using Syncfusion Products. 
 
We are unable to reproduce the reported issue and the data is loading find in our side. We have prepared a sample based on our below getting started UG link for your reference.  
 
 
You can download the working copy of the sample from the below link. 
 
 
Also please refer the output screenshot of our sample below, 
 
 
 
 
Regards, 
Divakar. 


Miguel Arenas
Replied On August 10, 2016 05:29 PM UTC

Thank you for your answer. The screenshot, that you send is for windows phone, have you try on android?

Miguel Arenas
Replied On August 10, 2016 05:49 PM UTC

I finally found the problem, base on your sample; I dind't add 2 references in the android project, that were on the core.

Thank you.

Divakar Subramaniam [Syncfusion]
Replied On August 11, 2016 05:51 AM UTC

Hi Miguel, 
 
We are glad that your issue has been resolved. Please let us know if you need any other assistance. 
  
  
Regards, 
Divakar. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;