I am getting the following error when I am pressing the Edit button for the ListView. I am not sure why. The Data from the model appears and I can edit the input fields but it does not call the Update method on the controller.
Uncaught SyntaxError: Unexpected identifiervt.getter @ kendo.all.min.js:9ut.extend.get @ kendo.all.min.js:11S.extend.get @ kendo.all.min.js:12E.widget.value.v.extend.init @ kendo.all.min.js:12b.extend.applyBinding @ kendo.all.min.js:13I.extend.bind @ kendo.all.min.js:13a @ kendo.all.min.js:12a @ kendo.all.min.js:12a @ kendo.all.min.js:12a @ kendo.all.min.js:12a @ kendo.all.min.js:12s @ kendo.all.min.js:12c.extend.refresh @ kendo.all.min.js:26c.extend.init @ kendo.all.min.js:26(anonymous function) @ kendo.all.min.js:10b.extend.each @ jquery.min.js:3b.fn.b.each @ jquery.min.js:3vt.plugin.e.fn.(anonymous function) @ kendo.all.min.js:10n.ui.DataBoundWidget.extend.edit @ kendo.all.min.js:33(anonymous function) @ kendo.all.min.js:33b.event.dispatch @ jquery.min.js:3b.event.add.v.handle @ jquery.min.js:3
MVC Code for the ListView
@(Html.Kendo().ListView<RPMS.Models.ActualsHoursViewModel>(Model) .Name("ListView") .TagName("div") .ClientTemplateId("ActualsHoursTemplate") .DataSource(dataSource => dataSource .Model(model => { model.Id(m=>m.ActualsHoursModelsId); model.Field(m => m.ProjectId); model.Field(m => m.HoursAllocated); model.Field(m => m.Activities); } ) .ServerOperation(true) .Batch(true) .Create(create => create.Action("kendo_Create", "ActualsHours")) .Read(read => read.Action("kendo_Read", "ActualsHours", new { date = "" })) .Update(update => update.Action("kendo_Update", "ActualsHours")) .Destroy(destroy => destroy.Action("kendo_Destroy", "ActualsHours")) .Events(events => events.Error("error_handler")) ) .Editable() .Events(ev => { ev.DataBound("initDropDownLists"); } ) .Selectable() // .Events(events => events.Error("error_handler")))