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

radGrid client side binding with RESTful service

1 Answer 174 Views
Grid
This is a migrated thread and some comments may be shown as answers.
william
Top achievements
Rank 1
william asked on 10 Jul 2014, 09:01 PM
Can radGrid client side binding get data from a RESTful service with GET method? or can client side binding work with ASP.NET Web API 2?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 15 Jul 2014, 11:20 AM
Hello William,

As long as the result returned from the service is JSON you can bind the grid to the service. Currently there are three ways for achieving this.
  1. Using declarative binding as demonstrated here.
  2. Using programmatic binding in which case you need to manually call the service using JavaScript and bind the result to the grid(demo is available here).
  3. Binding the grid to a RadClientDataSource control as illustrated in this online demo.

Regards,
Angel Petrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
william
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or