Kendo ui 网格上的剑道ui分页

Kendo ui 网格上的剑道ui分页,kendo-ui,kendo-grid,Kendo Ui,Kendo Grid,我使用的是一个常规的web应用程序,而不是MVC,并且希望在网格上使用分页,但是我看不出页面计数应该传递到查询的什么地方 这是我的页面代码 var dataSource = new kendo.data.DataSource({ transport: { read: { url: "TestWS.asmx/GetCIPCodes", type: "POST", contentType: "applicatio

我使用的是一个常规的web应用程序,而不是MVC,并且希望在网格上使用分页,但是我看不出页面计数应该传递到查询的什么地方

这是我的页面代码

var dataSource = new kendo.data.DataSource({
transport: {
        read: {
            url: "TestWS.asmx/GetCIPCodes",
            type: "POST",
            contentType: "application/json; charset=utf-8",
            dataType: "json"
        },  // end of read
        pageSize: 5,
        pageable: true,
        serverPaging: true
    },
    //pageable: true,
    schema: {
        data: function (data) {
            return data.d;
        },
    }, // end of schema
});  // end of dataSource

$("#pgrid").kendoGrid({
    dataSource: dataSource,
    height: 300,
    filterable: true,
    sortable: true,
    pageable: true,
    //pageSize: 5,
    //serverPaging: true,
    serverFiltering: true,
    serverSorting: true,
        columns: [{
            field: "CIPCode",
            title: "CIP Code",
            width: 100,
        }, {
            field: "CIP_Name",
            title: "CIP Name",
            width: 100
        }, {
            field: "FEDClusterName",
            Title: "FED Cluster",
            width: 100
        }]

}); // end of pgrid
这是我的web服务查询

Dim CIP = (From c In _db.tblCIPCodes _
Where c.cipactive = True AndAlso c.CIPCode < "99.0000"
Select c.CIPCode, c.CIP_Name, c.FEDClusterName).ToList()

    Return CIP.ToList
Dim CIP=(来自c In_db.tblcipcode_
其中c.cipactive=True,且c.CIPCode<99.0000
选择c.CIPCode、c.CIP_Name、c.FEDClusterName)
返回CIP.ToList

发生的事情是,我得到一个包含50条记录的列表,所有记录都显示出来,但没有显示任何页面。

数据显示出来,但没有分页?或者您看不到任何数据?请尝试从传输部分删除pageable:true、serverPaging:true,这里没有问题,因此我从传输定义中删除了pageable,并将分页添加到网格中,但这并没有产生任何影响。我仍然看到一个列表,页面设置为0,列表可以滚动,并像以前一样显示(50)条记录