Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Kendo DataSource create method not getting called

$
0
0

Hello Scott,

We have already provide an answer to your question in the support ticket you have opened on this matter. For completeness here is the excerpt for the reply:

Looking at the code you have pasted I have notices few issues:
 - The URL set for the create action does not match the action method you have pointed in the Controller - one is named Facility the other one is name AddFacility. I guess this may be the cause for the issue you have described.
 - The schema fields declaration is not correct as there is no field named id. I guess you meant Value.
 - The save toolbar command is designed to work with incell edit mode. The inline edit mode should be used with edit command placed inside the command column i.e.

   { command: ["destroy", "edit"], title: " ", width: "150px" }
 - The autoSync option is DataSource setting not Grid option. However, it should be also used with incell edit mode only.

I hope this helps.

Regards,

Rosen

Telerik

 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>