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

Crash when launching application on Ipad

Thread ID:





126166 Sep 28,2016 09:21 AM UTC Oct 8,2018 10:23 AM UTC Xamarin.iOS 3
Tags: SfDataGrid
Asked On September 28, 2016 09:21 AM UTC

Hi !

I try to use SfDatagrid for a Cross Platform application. It's work very well on Android but I have an issue when the application is launched on an Ipad.

I encountering the following error message: "System.InvalidOperationException: No method 'Count' exists on type 'System.Linq.Queryable'."

Below, some informations concerning the used code:

PCL: MainPage.xaml

<syncfusion:SfDataGrid x:Name="dataGrid" ColumnSizer="LastColumnFill" ItemsSource="{Binding Data}" AutoGenerateColumns="False" AllowSorting="True" VerticalOptions="FillAndExpand">

          <syncfusion:SfDataGrid.Columns x:TypeArguments="syncfusion:Columns">
            <syncfusion:GridTextColumn HeaderText="Nom"
                                       MappingName="nom" />
            <syncfusion:GridTextColumn HeaderText="Prénom"
                                       MappingName="prenom" />
            <syncfusion:GridTextColumn HeaderText="Âge"
                                       MappingName="age" />
            <syncfusion:GridTextColumn HeaderText="Poste"
                                       MappingName="poste" />

            <syncfusion:SortColumnDescription ColumnName="nom" />


IOS: AppDelegate.cs

    public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
        public override bool FinishedLaunching(UIApplication app, NSDictionary options)

            new SfChartRenderer();


            LoadApplication(new App());

            return base.FinishedLaunching(app, options);

Can you tell me how fix this issue ? 

Waiting for your reply.

Ashok N [Syncfusion]
Replied On September 29, 2016 06:20 AM UTC

Hi Maxime, 

This is known framework issue in Xamarin.Forms.iOS due to Linker problem. We have reported the problem in Bugzilla and it seem to have broken again.  
If you use SfDataGrid with LinkerBehavior Link Framework SDKs only”, the exception you have mentioned will be throw. However, you can able to overcome this error in two ways.   
1.     By setting LinkerBehavior as “Don’t Link   
2.     By setting custom linker argument in iOS renderer project as like in below screenshot,  
Please refer the below KB link for more details regarding the issue and its workaround.  

David Smith
Replied On October 6, 2018 09:09 PM UTC

It is great that I have found a discussion about an interesting topic as I was a lot anxious about knowing about this new software. Consult with Apple Support if you want to know more about this. 

Vigneshkumar Ramasamy [Syncfusion]
Replied On October 8, 2018 10:23 AM UTC

Hi David Smith 
Thanks for your suggestion. We will cosult Apple Support for more details about the reported issue.. 
Vigneshkumar R 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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