This question is locked. New answers and comments are not allowed.
I created a RadComboBox in the "Details" grid of the "EditAppointmentTemplate" that resembles the following code:
<telerik:RadComboBox Grid.Row="7" Grid.Column="1"
DataContext="{Binding Source={StaticResource viewModel}}"
ItemsSource="{Binding CustomTypes}"
SelectedValue="{Binding SelectedItem.Value, Mode=TwoWay}"
SelectedValuePath="Name"
/>
I added a static resource that points to my view model in the resource dictionary:
<App:ViewModel x:Key="vm"/>
My view model has two objects, CustomTypes and CustomObject. The ComboBox correctly loads all of the types from CustomTypes, but it fails to bind the selected value from the CustomObject. If I take the ComboBox out of the template and remove the Static Resource line, it works fine.
<telerik:RadComboBox Grid.Row="7" Grid.Column="1"
DataContext="{Binding Source={StaticResource viewModel}}"
ItemsSource="{Binding CustomTypes}"
SelectedValue="{Binding SelectedItem.Value, Mode=TwoWay}"
SelectedValuePath="Name"
/>
I added a static resource that points to my view model in the resource dictionary:
<App:ViewModel x:Key="vm"/>
My view model has two objects, CustomTypes and CustomObject. The ComboBox correctly loads all of the types from CustomTypes, but it fails to bind the selected value from the CustomObject. If I take the ComboBox out of the template and remove the Static Resource line, it works fine.