Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/265.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 请求筛选器时KendoUI网格成员类型为空_Javascript_C#_Kendo Ui_Kendo Grid - Fatal编程技术网

Javascript 请求筛选器时KendoUI网格成员类型为空

Javascript 请求筛选器时KendoUI网格成员类型为空,javascript,c#,kendo-ui,kendo-grid,Javascript,C#,Kendo Ui,Kendo Grid,我们正在使用KendoUI网格控件。我们使用剑道数据源向Web API请求一些数据: this.gridDatasource = new kendo.data.DataSource({ transport: { read: { url: url, type: 'POST', dataType

我们正在使用KendoUI网格控件。我们使用剑道数据源向Web API请求一些数据:

this.gridDatasource = new kendo.data.DataSource({
            transport: {
                read:
                {
                    url: url,
                    type: 'POST',
                    dataType: 'JSON'
                }
            },
            schema: {
                data: "Data", // records are returned in the "data" field of the response
                total: "Total", // total number of records is in the "total" field of the response
                model: {
                    fields: {
                        name : { type: "string" }
                    },
                }
            },
如您所见,我的字段“name”的类型定义正确。当我们的网格向我的API发送Ajax请求时,Kendo发送的FilterDescriptor对象的MemberType为空。有什么想法吗


我也有同样的问题。你知道如何填充该属性吗?我们不再使用剑道MVC服务器端,我们使用剑道Angular component的pur REST API,对不起。。。