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

Populate RadGrid client-side using a WEB API with REST

7 Answers 362 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Denis
Top achievements
Rank 2
Denis asked on 14 Dec 2012, 09:45 PM
Hi 

Do you have some example or documentation on how populate a RadGrid using client-side and a Restful Web AP? I will be pupulatig the RadGrid with a JSON with the columns and the data on client-side.

Thank you 

7 Answers, 1 is accepted

Sort by
0
Accepted
Jayesh Goyani
Top achievements
Rank 2
answered on 16 Dec 2012, 05:37 AM
Hello,

Please check below code/demo.

http://jayeshgoyani.blogspot.in/2012/08/radgrid-with-wcf-rest-service.html

Thanks,
Jayesh Goyani
0
Denis
Top achievements
Rank 2
answered on 21 Dec 2012, 10:21 PM
Thank you I will check it just right now :)
0
Denis
Top achievements
Rank 2
answered on 21 Dec 2012, 10:32 PM
Hi Jayesh ,

I was reading your example and it looks good. However I have something here to deal that it giving me problem.

My JSON with the data for this grid is dynamic so it means that my grid will be having dynamic columns I want to do something like autogeneratecolumns on code-behind. Could you help me with some documentation or idea to accomplish it on client-side

Thank you 
Denis
0
Denis
Top achievements
Rank 2
answered on 21 Dec 2012, 10:37 PM
Also I dont have a web service. I have a REST API and I build my request on the fly and the response is the JSON :)
0
Jayesh Goyani
Top achievements
Rank 2
answered on 24 Dec 2012, 07:44 AM
Hello,

Right now i have not sample code/demo.

It is possible then can you please give your code, so i can check and try to resolve your issue.

Thanks,
Jayesh Goyani
0
Denis
Top achievements
Rank 2
answered on 02 Jan 2013, 03:25 PM
I got this working later I will create a basic example for you and you can tune and share with the community 
0
Roman
Top achievements
Rank 1
answered on 15 Jan 2014, 06:11 AM
Hi Denis!

Could you please share your solution? Thanks!
Tags
Grid
Asked by
Denis
Top achievements
Rank 2
Answers by
Jayesh Goyani
Top achievements
Rank 2
Denis
Top achievements
Rank 2
Roman
Top achievements
Rank 1
Share this question
or