I used this method to fix the empty combo box
http://docs.telerik.com/devtools/wpf/controls/radgridview/troubleshooting/blank-cells.html
I have a Usercontrol called relationship that uses that fix.
At the moment I have to create 4 different UserControls because each is pointing to a different viewmodel. Is there a way to have it dynamic so it can point to any.
<
UserControl.Resources
>
<
local:MainPageViewModel1
x:Key
=
"mainPageViewModel1"
/>
<
local:MainPageViewModel2
x:Key
=
"mainPageViewModel2"
/>
<
local:MainPageViewModel3
x:Key
=
"mainPageViewModel3"
/>
</
UserControl.Resources
>
...
<
telerik:GridViewComboBoxColumn
Header
=
"Category"
DataMemberBinding
=
"{Binding CategoryID}"
ItemsSource
=
"{Binding Path=Categories, Source={StaticResource CHOOSE CORRECT VM}}"
DisplayMemberPath
=
"CategoryName"
SelectedValueMemberPath
=
"CategoryID"
/>