RadComboBox And RESTFul API

2 posts, 0 answers
  1. Larissa
    Larissa avatar
    19 posts
    Member since:
    Dec 2015

    Posted 16 Feb Link to this post


    I'm learning Telerik UI for ASP.NET AJAX now and I want to know how to use it with an external back-end RESTful API.

    Correct me if I'm wrong... Since it is a framework to help us build the UI (front-end), there should be ways to bind the back-end to "give live" to the UI.

    I was specting to see some pretty simple straight forward ways to bind data coming from my REST API, but every forum, blog, tutorial that I read so far presents a "hack" to do it.

     For instance, the most basic thing... I want to load data to a RadComboBox from my API.

     My RadComboBox:

    <telerik:RadComboBox ID="regTypeComboBox" runat="server" Width="305" Skin="Telerik" />

     How can I use "http://maydomain.com:8080/mycompany/api/registerTypes" to populate my RadComboBox?
  2. Peter Filipov
    Peter Filipov avatar
    1028 posts

    Posted 19 Feb Link to this post

    Hello Larissa,

    Thank you for contacting Telerik Support.

    You are right that the integration is not out of the box. To cover those cases you should use the integration with the RadClientDataSource control. Here is a demo how this could be achieved. 

    I will be glad to assist you further.

    Peter Filipov
    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
  3. DevCraft R3 2016 release webinar banner
Back to Top