Link to home
Start Free TrialLog in
Avatar of MSFanboy
MSFanboyFlag for Germany

asked on

Edited Entity should not commit changes only when Save button is pressed

Hello,

I have a Mainform + smallDialog.

scenario:

The Mainform has a datagrid with entities bound.

The smallDialog updates the entity double-clicked-on-the-datagrid-in-Mainform wich is passed to the smallDialog and bound there again to a bindingsource.

When I change now some data in the textfiels AND leave the textfield so the focus is lost, the data is immediate updated in the datagrid of the Mainform.

What I want is to update ONLY when the OK-button is pressed.

How can I change that update-behaviour without cloning the entity and do many workarounds?
ASKER CERTIFIED SOLUTION
Avatar of Fernando Soto
Fernando Soto
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial