【问题标题】:What parameters are sent by Telerik's RadClientDataSource controlTelerik 的 RadClientDataSource 控件发送哪些参数
【发布时间】:2020-03-08 22:01:50
【问题描述】:

我在一个 aspx 页面中有一个 RadClientDataSource,其中的 EnableServerPaging、EnableServerSorting、EnableServerFiltering 在 RadClientDataSource 的标记中都设置为 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】:

    它应该像这样在方法参数中:

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

    【讨论】:

      猜你喜欢
      • 2015-12-04
      • 1970-01-01
      • 1970-01-01
      • 2013-07-14
      • 2011-04-24
      • 1970-01-01
      • 1970-01-01
      • 2012-12-06
      • 1970-01-01
      相关资源
      最近更新 更多