Telerik的RadClientDataSource控件发送哪些参数

问题描述 投票:0回答:1

我在aspx页面中有一个RadClientDataSource,在该页面中,对于RadClientDataSource的标记,EnableServerPaging,EnableServerSorting,EnableServerFiltering都设置为true。

问题

在这种情况下,RadClientDataSource控件将哪些参数传递给服务器端Web服务?我在https://docs.telerik.com/devtools/aspnet-ajax/controls/clientdatasource/service-configuration处查看了RadClientDataSource的文档,但是没有提及RadClientDataSource传递给服务器端的标准参数。

<telerik:RadClientDataSource runat="server" ID="RadClientDataSource1" EnableServerPaging="true" AllowPaging="true" 
               EnableServerFiltering="True" EnableServerSorting="true">
<DataSource>
    <WebServiceDataSourceSettings>
        <Select Url="api/emplist/GetTaskList" RequestType="Get" DataType="JSON" EnableCaching="false"/>
    </WebServiceDataSourceSettings>
</DataSource>
</telerik:RadClientDataSource>
asp.net webforms telerik
1个回答
0
投票

它应该在方法参数中,如下所示:

公共静态对象GetTaskList(int?take = null,int?skip = null,int?page = null,int?pageSize = null)

© www.soinside.com 2019 - 2024. All rights reserved.