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

Databinding Issues/Samples

3 Answers 106 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Muhammad
Top achievements
Rank 1
Muhammad asked on 04 Dec 2015, 10:51 AM
I am trying to bind a list view to a JSON datasource using listview.SetBinding but its not binding. Any samples will be really helpful.     

3 Answers, 1 is accepted

Sort by
0
Rosy Topchiyska
Telerik team
answered on 08 Dec 2015, 02:43 PM
Hello Muhammad,

Thank you for contacting us.

The RadListView control does not support binding to JSON datasource. You can log this feature request in our ideas and feedback portal where our community can vote for it and raise its priority.

Regards,
Rosy Topchiyska
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
0
Muhammad
Top achievements
Rank 1
answered on 08 Dec 2015, 03:25 PM

Hi Rosy,

thanks for the reply... actually the issue is not the datasource.. I am able to bind my listview to an azure mobile services response or a static string..

listView.ItemsSource = new List<string>() { "A", "B", "C" };

but now I am trying to bind it to a multidimensional array in gridlayout such as I will have image and title in an array and this is where it is not working...

List<List<string>> strings = new List<List<string>>()

{new List<string>{"Id:001","Name:Decker1"},

new List<string>{"Id:002","Name:Decker2"}};

 

this works with regular xamarin listview but not with telerik listview :(

 

0
Rosy Topchiyska
Telerik team
answered on 11 Dec 2015, 12:59 PM
Hi Muhammad,

I am not quite sure that I understand your scenario. Could you please share some more information about the setup where the Xamarin ListView works fine and Telerik RadListView does not - a code snippet would be perfect.

I look forward to your reply.

Regards,
Rosy Topchiyska
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
ListView
Asked by
Muhammad
Top achievements
Rank 1
Answers by
Rosy Topchiyska
Telerik team
Muhammad
Top achievements
Rank 1
Share this question
or