I have WinForms DataGridView and BindingNavigator on the From bind to the same BindingSource.
When user enter text into a cell of DataGridView (cell text editor is visible) and press "Move next" in BindingNavigator, it is assumed that the grid close cell text editor, text should be written in the DataTable Field and record end edit.
But the grid simply ignore the entered text, and returns the old value in to the cell.
Is it possible make grid to write the entered value when navigating through BindingNavigator?
It's possible. All you need is to set the
CausesValidationproperty of theBindingNavigatorclass totrue.Note that this property is
falseby default and also is hidden by theBindingNavigatorbase classToolStrip, so you cannot do that at design time (also the documentation of the property is misleading). But you can do that via code (for instance, inside your formLoadevent):