tags:

views:

10

answers:

0

Hi All,

I am getting the following exception when trying to go into edit mode: DeferRefresh' is not allowed during an AddNew or EditItem transaction.

The comboboxcolumn is bound to a DefaultView of a DataTable and I am not modifying the DataTable from code. Here is the XAML part of binding:

<DataGridComboBoxColumn x:Name="areaCmb" SelectedValueBinding="{Binding Path=TEAM}"                                                              
                                           SelectedValuePath="TEAM"
                                           DisplayMemberPath="TEAM"
                                           Header="TEAM"
                                           ItemsSource="{Binding Source={StaticResource customerDataProvider}}">

</DataGridComboBoxColumn>`

Any idea what went wrong?