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

DataManager - executeLocal() : Json data is required to execute

Hi!

In my project UnobtrusiveJavaScriptEnabled is enabled, i was linked ej.unobtrusive.min as it's indicated in https://help.syncfusion.com/aspnetmvc/unobtrusive, but when data is binding I've got an error:

Uncaught DataManager - executeLocal() : Json data is required to execute
Error: DataManager - executeLocal() : Json data is required to execute
    at f (http://localhost:3904/Scripts/ej/ej.web.all.min.js:10:93938)
    at t.DataManager.executeLocal (http://localhost:3904/Scripts/ej/ej.web.all.min.js:10:33333)
    at Object._ensureDataSource (http://localhost:3904/Scripts/ej/ej.web.all.min.js:10:3077598)
    at Object._checkDataBinding (http://localhost:3904/Scripts/ej/ej.web.all.min.js:10:3053996)
    at Object._init (http://localhost:3904/Scripts/ej/ej.web.all.min.js:10:3049034)
    at Object.<anonymous> (http://localhost:3904/Scripts/ej/ej.web.all.min.js:10:21556)
    at init.n.fn.(anonymous function) [as ejGrid] (http://localhost:3904/Scripts/ej/ej.web.all.min.js:10:22813)
    at initControls (http://localhost:3904/Scripts/ej/ej.unobtrusive.min.js:10:3013)
    at checkUnobtrusive (http://localhost:3904/Scripts/ej/ej.unobtrusive.min.js:10:3247)
    at Function.wd.init (http://localhost:3904/Scripts/ej/ej.unobtrusive.min.js:10:3489)

1 Reply

PK Prasanna Kumar Viswanathan Syncfusion Team July 13, 2017 08:45 AM UTC

Hi John, 

Thanks for contacting Syncfusion support. 

We checked in our sample by enable Unobstrusive and we unable to reproduce the mentioned issue at our end. In our sample we bind data for the grid in a button click.  

To find out the root cause, we need the following details.  

1. Share the code example of a Grid and server-side.  

2. Share the code example that you have binding data to a Grid.  

3. Have you using any adaptors like URL, remoteSave etc.? 

4. Essential Studio Version details.   


Regards, 
Prasanna Kumar N.S.V 
 


Loader.
Live Chat Icon For mobile
Up arrow icon