开始with the Telerik WebForms ClientDataSource
TheRadClientDataSourcecontrol is a server-sideASP.NET AJAX wrapper的theKendo.UI DataSourcecomponent, which could be used for performing various data source operations on the client. It fully supports binding to different kinds of web services and also provides both local and server-side support for排序,paging,filtering,grouping, andaggregates.
With the steps below, we will show how to entirely bind aRadGridcontrol to aRadClientDataSourcedeclaratively by involving theDesign Time的the control.
From theToolboxinVisual Studio, drag aRadClientDataSourceand aRadGridinstances to the design surface of your page.
Set aWebServiceusing theUrlproperty. In this example we are using "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Products"
ASP.NET
Configure theModel Schemaand set theFiledsfor the data source control
ASP.NET
Click on the smart tag ofRadGridcontroland specify theClientdataSourceID
Specify the RadGrid columns, theirDataFieldsand the other required settings likepaging,filteringect.
ASP.NET
Note thatautogeneratedcolumns andHierarchical structures的RadGridcontrol are not supported withRadClientDataSourceControl binding .
We are ready to view the page in the browser