Populate RadGrid client-side using a WEB API with REST

8 posts, 1 answers
  1. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2012

    Posted 14 Dec 2012 Link to this post

    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 
  2. Answer
    Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 15 Dec 2012 Link to this post

    Hello,

    Please check below code/demo.

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

    Thanks,
    Jayesh Goyani
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2012

    Posted 21 Dec 2012 Link to this post

    Thank you I will check it just right now :)
  5. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2012

    Posted 21 Dec 2012 Link to this post

    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
  6. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2012

    Posted 21 Dec 2012 Link to this post

    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 :)
  7. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 24 Dec 2012 Link to this post

    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
  8. Denis
    Denis avatar
    18 posts
    Member since:
    Feb 2012

    Posted 02 Jan 2013 Link to this post

    I got this working later I will create a basic example for you and you can tune and share with the community 
  9. Roman
    Roman avatar
    1 posts
    Member since:
    Jul 2012

    Posted 15 Jan 2014 Link to this post

    Hi Denis!

    Could you please share your solution? Thanks!
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017