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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Error when binding data to grid remotesaveadapter

Thread ID:





143136 Mar 6,2019 02:50 AM UTC Mar 6,2019 05:07 AM UTC ASP.NET MVC - EJ 2 1
Tags: Grid
Juan José
Asked On March 6, 2019 02:50 AM UTC

I am trying to reproduce the sample in documentation given in url: https://ej2.syncfusion.com/aspnetmvc/documentation/grid/data-binding/#remote-save-adaptor
but, I am getting an error: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException
  Message=The best overloaded method match for 'Syncfusion.EJ2.DataManagerBuilder.Json(object[])' has some invalid arguments

In the file attached there are some evidences of the way I am coding.

Thanks for your help,
Juan J.

Attachment: syncfusionrsa_87630ea4.zip

Thavasianand Sankaranarayanan [Syncfusion]
Replied On March 6, 2019 05:07 AM UTC

Hi Juan, 

Greetings from Syncfusion. 

We have analyzed the screen shots you have shared with us. We could see that the data you are binding to Grid is not proper. We suggest you to assign array of objects to the JSON property of DataManager. So, we suggest you to add the “ToArray()” in your code to achieve your requirement. 

      @(Html.EJS().Grid("Grid").DataSource(dataManager => 
      }).Columns(col => 

Please get back to us if you need further assistance. 

Thavasianand S. 


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

Live Chat Icon For mobile
Live Chat Icon