I have a very basic ASP.NET MVC app that has a kendoGrid and DataSource defined on a page. The read method works fine and populates the grid as expected, but I'm having issues with the create method. I've set the datasource's schema model to a model I defined and I've inspected and confirmed the model shows the new item after calling the add method on the datasource. Additionally, the new item also appears in the grid. For some reason, though, it seems when I call sync() the MVC controller method isn't called. Then when read() is called on the datasource the new item is cleared since it wasn't persisted.
Hopefully I've just missed something very simple, but I'm pretty confused why the create method doesn't seem to be called when the datasource is synced.
Any ideas?
Hopefully I've just missed something very simple, but I'm pretty confused why the create method doesn't seem to be called when the datasource is synced.
Any ideas?