i have an issue with my maintanance forms allways starting with the maintanance toolstrip showing the save and undo buttons enabled and the navigate buttons disabled.
i guess this is because automations on the form cause the bo to become dirty. ?
so within the bo, i tried this, to set it "undirty":
protected override void OnIsDirtyChanged(bool DirtyShouldBe) { if (this.isDirty && this.EditingState == BusinessEditingState.Idle) this.Save(); base.OnIsDirtyChanged(DirtyShouldBe); }
however, this throws a stackoverflow exception.
So, what is the appropriate way to handle this ?
thanks.