I'm converting from 2011.3.1116.35 to 2017-3-913.40. This works in the old version but not in the new version.
My RadGridView is bound to an ObservableCollection named DrugList, however the ComboBoxColumn is bound to a different ObservableCollection named BrandGenericCodeList. I'm trying to do the binding in XAML:
<UserControl x:Class="MyApp.ucDrug"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:telerikData="clr-namespace:Telerik.Windows.Data;assembly=Telerik.Windows.Data"
xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
...
<telerikGrid:RadGridView x:Name="radGridView"
Grid.Row="1"
AutoGenerateColumns="False"
CanUserDeleteRows="True"
IsSynchronizedWithCurrentItem="True"
ItemsSource="{Binding DrugList}"
ShowColumnFooters="True"
Deleting="radGridView_Deleting"
RowValidating="radGridView_RowValidating"
SelectionChanged="radGridView_SelectionChanged">
<telerikGrid:RadGridView.Columns>
<telerikGrid:GridViewDataColumn Header="Name" DataMemberBinding="{Binding DrugName}" />
<telerikGrid:GridViewComboBoxColumn Header="Brand/Generic"
DataMemberBinding="{Binding BrandGenericCode}"
DisplayMemberPath="Value"
IsLightweightModeEnabled="True"
ItemsSource="{Binding BrandGenericCodeList}"
SelectedValueMemberPath="Name"
UniqueName="BGC" />
Any help is appreciated. Thank you.