This is a migrated thread and some comments may be shown as answers.

how to read data from web service ?

1 Answer 106 Views
Grid
This is a migrated thread and some comments may be shown as answers.
hamid
Top achievements
Rank 1
hamid asked on 22 Dec 2015, 05:33 PM

Hi

I wana to bind Radgrid to web service with paging server side (linq) , so How do i implement it ?

 

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 24 Dec 2015, 12:30 PM
Hi Hamid,

In order to implement this you can bind RadGrid to a RadClientDataSource control. By default the paging is performed on the client. To have server-side paging you should set the EnableServerPaging property of RadClientDataSource.

Then you would need to send the current page and and the page size to the remote service. This can be done via the OnCustomParameter event of RadClientDataSource. This information should be handled by the select method and the relevant records to be sent to the client.

Check out the following resources that describe the RadClientDataSource control in more detail:




Regards,
Viktor Tachev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
hamid
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or