This question is locked. New answers and comments are not allowed.
Hi there,
I migrated a Windows 8 project to Windows 8.1.
There I was using a RadDataGrid where I was binding a CollectionViewSource to its ItemSource property.
This worked in Windows 8.
Now I get an error "Specified data source not supported".
It seems that the Windows 8.1 version of RadDataGrid has changed at this point and that the old version also accepted CollectionViewSources.This was convenient to switch between design time data:
Is there a WorkAround or do I have to use code behind to bind my data?
Thanks,
Andi
I migrated a Windows 8 project to Windows 8.1.
There I was using a RadDataGrid where I was binding a CollectionViewSource to its ItemSource property.
<telerikGrid:RadDataGrid x:Name=
"sumBlockGrid"
ItemsSource=
"{Binding Source={StaticResource accountBalancesViewSource}}"
Now I get an error "Specified data source not supported".
It seems that the Windows 8.1 version of RadDataGrid has changed at this point and that the old version also accepted CollectionViewSources.This was convenient to switch between design time data:
<CollectionViewSource
x:Name=
"accountBalancesViewSource"
Source=
"{Binding AccountBalances}"
ItemsPath=
"Items"
IsSourceGrouped=
"False"
d:Source=
"{Binding AccountBalances, Source={d:DesignInstance Type=data:SampleData, IsDesignTimeCreatable=True}}"
/>
Is there a WorkAround or do I have to use code behind to bind my data?
Thanks,
Andi