Kendo Grid显示以下错误
insert命令需要Insert data binding binding.请在DataBinding配置中指定Insert操作或url
@(Html.Kendo().Grid<Pa.Portal.KazangService.KazangAccount>() .Name("grids") .Columns(columns => { columns.Bound(g => g.Id); columns.Bound(g=>g.UserName); columns.Bound(g=>g.Password); columns.Bound(g=>g.Channel); }) .ToolBar(toolbar => toolbar.Create()) .Pageable() .Sortable() .Scrollable() .AutoBind(true) .HtmlAttributes(new { style = "height:430px;" }) .DataSource(dataSource => dataSource .Ajax() .PageSize(20) .Model(m => m.Id(h => h.Id)) .Read(read => read.Action("LoadAllkazangAccounts","Kazang")) )) CONTROLLER public ActionResult LoadAll([DataSourceRequest] DataSourceRequest request) { IKazangBusinessService client = PaChannelFactory<IKazangBusinessService>.Default.CreateChannel(); IEnumerable<KazangAccount> KaList = client.GetAllKazangAccounts().ToList(); ((IChannel)client).Close(); return Json(KaList.ToDataSourceResult(request)); }