MSFanboy
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-data grid-in-Ma inform 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?
I have a Mainform + smallDialog.
scenario:
The Mainform has a datagrid with entities bound.
The smallDialog updates the entity double-clicked-on-the-data
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.