Hello,
I'm using KendoGrid to populate the data and also doing CRUD functionality. But my problem is that I'm not able to update/Delete entities as I'm not able to make ajax call .
Kindly suggest me where I'm going wrong .
Thanks,
I'm using KendoGrid to populate the data and also doing CRUD functionality. But my problem is that I'm not able to update/Delete entities as I'm not able to make ajax call .
Kindly suggest me where I'm going wrong .
Thanks,
$("#GridTestJS").kendoGrid({ columns: [{ title: "Fontfamily", field: "Fontfamily" }, { title: "FontPreviewImage", field: "FontPreviewImage" }, { command: ["edit", "destroy"], title: " ", width: "210px"}], editable: "popup", dataSource: { transport: { read: { url: "/Test/GetFontDetails" }, update: { url: "/Test/updateFontDetails", data: {} }, destroy: { url: "/Test/destroyFontDetails" } } }, selectable: "row" }); public JsonResult GetFontDetails() { var Allfonts = context.Fonts.ToList(); return Json(Allfonts, JsonRequestBehavior.AllowGet); } public JsonResult updateFontDetails(Font obj) { var Allfonts = context.Fonts.ToList(); return Json(Allfonts, JsonRequestBehavior.AllowGet); } public JsonResult destroyFontDetails(Font obj) { var Allfonts = context.Fonts.ToList(); return Json(Allfonts, JsonRequestBehavior.AllowGet); }