S
Steve
In the click event for a checkbox, I am validating some data. If the
validation fails, I want the checkbox to remain unchanged(IE: If it was
checked before the last click and the validation fails, I want it to remain
checked)
Now, I can handle this with code that is less that pretty, but I thought
there might be a way to cancel an event or something. Basically, I'm asking
if there is a .NET native way to revert a control to it's previous state in
an event handler.
Thanks!
validation fails, I want the checkbox to remain unchanged(IE: If it was
checked before the last click and the validation fails, I want it to remain
checked)
Now, I can handle this with code that is less that pretty, but I thought
there might be a way to cancel an event or something. Basically, I'm asking
if there is a .NET native way to revert a control to it's previous state in
an event handler.
Thanks!