views:

113

answers:

1

Hi, I can't believe I haven't run into this issue before: I have a data bound form and before the user navigates to another record I want to save some additional data from non-bound controls in addition to the bound data. The only event I can find is BindingManagerBase.PositionChanged but this seems to happen after the current record has changed. Is there a way to get an event when the data has just been saved but before the binding has moved to the new record?

A: 

Have you looked at implementing a ListChangedEventHandler to detect when your list changes? The list seems to raise an event of type Reset when the list position changes (assuming your data is in a BindingList<>).

Hoser