1.0 Framework - IsDirty Not Set To True

1.0 Framework - IsDirty Not Set To True

Old forum URL: forums.lhotka.net/forums/t/106.aspx


MadGerbil posted on Monday, May 15, 2006

If a user opens a form upon which object data is displayed, clicks a bound check box without navigating to another control, and then hits the 'X' in the corner the form closes even though I do a check for "IsDirty" in the form closing event.

I would expect the checking of the checkbox, or more accurately, navigating off the check box to cause the object to become dirty.

I know this has been addressed before - I'm having issues finding it though.

Thoughts?

esteban404 replied on Monday, May 15, 2006

Do you have a visible check box bound to the IsValid property of your object on the form also? (perhaps hidden behind another control or off the form)

_E

Copyright (c) Marimer LLC