DataNavigatorCancelChanges Method

This is used to manually cancel pending changes to the current row in the data source

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public void CancelChanges()

Remarks

This will call the CancelCurrentEdit method for the data source in the current binding context.

Due to the way data binding works in .NET, pending changes to the current row may not have been committed to the data source when you are ready to save changes to the underlying data source. As such, you should always call the CommitChanges or CancelChanges method on the data navigator control prior to checking for or saving changes in its underlying data source.

See Also