Javascript CRUD Kendo,批量更新网格返回数据null
我有这个模式Javascript CRUD Kendo,批量更新网格返回数据null,javascript,jquery,telerik,telerik-grid,telerik-mvc,Javascript,Jquery,Telerik,Telerik Grid,Telerik Mvc,我有这个模式 schema: { data: "d.Data", // web methods return JSON in the following format { "d": <result> }. Specify how to get the result. total: "d.Total", model: { 和WebMethod [WebMeth
schema: {
data: "d.Data", // web methods return JSON in the following format { "d": <result> }. Specify how to get the result.
total: "d.Total",
model: {
和WebMethod
[WebMethod]
public static void Update(IEnumerable<dtoVisorEuroProveedores> dtoVisorEuroProveedores)
{...}
[WebMethod]
公共静态无效更新(IEnumerable DTovisorEuroprovedores)
{...}
更新工作正常,但未关闭BatchEdit,显示javascript错误:未捕获类型错误:无法读取null的属性“数据”最后我返回一个
IEnumerable
变量的列表()。最后我返回一个列表()IEnumerable
变量的问题。我有与所述相同的问题,但我不理解您的答案。请你再详细说明一下你是如何解决这个问题的。我有同样的问题,但我不明白你的答案。请您添加更多关于您如何解决该问题的详细信息。
[WebMethod]
public static void Update(IEnumerable<dtoVisorEuroProveedores> dtoVisorEuroProveedores)
{...}