Group: Awaiting Activation
Posts: 65,
Visits: 306
|
Hi,
I need to give users ability to change values in some controls databinded to certain BOs , but I don't want to save those changes to the database. I set all the properties IncludeInFormEdit, IncludeInFormSave, etc to false, as well as SetDirtyOnEdit. Save button is disabled when users make changes to these BOs, but when form is being colsed "Save Changes" messagebox still comes up.
Is there a way to turn off IsDirty change? I could just call RejectChanges() before form closes, I am just wondering if there's a property or something built into the framework that would let me do that.
Thanks
|