How to configure BOs not to chage "isDirty" to true even if user makes changes


How to configure BOs not to chage "isDirty" to true even if user makes...
Author
Message
Leonard P.
Leonard P.
StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)StrataFrame Novice (83 reputation)
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search