WPF Datagrid - IEditableObject events not firing sometimes

Jun 18, 2009 at 1:54 AM

Hi

I have implemented a datagrid with an ItemsSource that gets an ObservableCollection. This collection implements IEditableObject for use with committing values back to the database.

The issue I am running into is that sometimes these events are not firing and as a result I am not able to persist my data.

On the contrary if I use the BeginningEdit event of the DataGrid, it always fires. 

So somehow the datagrid is not allowing edit.

Has anyone encountered this issue before?

What can I check to make sure why the events are not being raised etc?