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

databinding to list of dictionaries

2 Answers 20 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Midav Obuarez
Top achievements
Rank 1
Midav Obuarez asked on 14 Jun 2010, 03:26 AM
Hi,

I read that Silverlight 4 allows to databind to indexed properties, which means you can use dictionary as DataContext for simple controls like TextBlock. My question: Is it possible to databind to a list of dictionaries instead of List of objects in the new Telerik GridView. So that I could do something like GridView.ItemsSource = List<Dictionary> instead of the way I had to do this in Silverlight 3 GridView.ItemsSource = List<Object>?

Thank you,

Midav 

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 14 Jun 2010, 07:12 AM
Hi Midav,

 Why not use our DataTable instead?

Regards,
Vlad
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Midav Obuarez
Top achievements
Rank 1
answered on 14 Jun 2010, 11:58 PM
Vlad,

Thank you for your prompt reply. I'll try to use Data Table.

Midav
Tags
GridView
Asked by
Midav Obuarez
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Midav Obuarez
Top achievements
Rank 1
Share this question
or