Canceling child add with BindingSourceHelper

Canceling child add with BindingSourceHelper

Old forum URL:

AdamJones posted on Friday, March 05, 2010

Winforms & Csla: 3.81

I have switched some of my code to use the BindingSourceHelper, I now have an issue with DataGridViews bound to child BLB properties.

I've implemented AddNewCore so new rows can be added to the grid, previously when I hit escape on a new grid row the row would be removed, after moving to using  BindingSourceHelper the row remains after i cancel the edit. Cancelling edits to existing rows works fine.

This only seems to be a problem with child properties, I've tired the same thing with a root BLB object and the added rows are removed as expected.

Is this a bug or have I missed something?

All help gratefully received,





AdamJones replied on Friday, March 05, 2010

Also I don't know if this is connected but I get the same problem when I bind a DataGridView to a child property of type LinqBindingList.

Copyright (c) Marimer LLC