Hello,
I have in my textbox in gotfocusmethod (a custom property):
this.uOldValue = this.Value
That way the old value is always there if I'd like to revert.
But I found that once the control gets focus this makes the control dirty.
I trigger on dirty controls (dirty = fldstate has changed) to save pending alterations. As I also ask for confirmation to the user prior to do the actual save this always triggers the confirmation. Even if no real change was there.
Is there a way to exclude such a property from making the control dirty?
TIA
-Bart
I have in my textbox in gotfocusmethod (a custom property):
this.uOldValue = this.Value
That way the old value is always there if I'd like to revert.
But I found that once the control gets focus this makes the control dirty.
I trigger on dirty controls (dirty = fldstate has changed) to save pending alterations. As I also ask for confirmation to the user prior to do the actual save this always triggers the confirmation. Even if no real change was there.
Is there a way to exclude such a property from making the control dirty?
TIA
-Bart