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

RadComboBox And RESTFul API

1 Answer 144 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Larissa
Top achievements
Rank 1
Larissa asked on 16 Feb 2016, 12:12 PM

 

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?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 19 Feb 2016, 09:10 AM
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.

Regards,
Peter Filipov
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
ComboBox
Asked by
Larissa
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
Share this question
or