Hi all,
I have a bit of a problem...
I have a simple modal form with some textboxes. I handle Validating event for
some of them, to check data format.
Form has OK and Cancel buttons, AcceptButton and CancelButton properties set.
Cancel's CausesValidation is set to false.
When I click the Cancel button, validation event is not fired and form closes
even if current textbox contains invalid data. However, when I press Esc key,
validation event is fired and the form will not close if current textbox
contains invalid data.
I didn't have any luck finding a standard way of handling this. Can anyone help?
TIA,

Signature
Marko
ICQ: 5990814
I'm not under the alkafluence of inkahol
that some thinkle peep I am.
It's just the drunker I sit here the longer I get.
Patrick Steele - 16 Feb 2007 03:44 GMT
> Hi all,
>
[quoted text clipped - 12 lines]
>
> I didn't have any luck finding a standard way of handling this. Can anyone help?
http://tinyurl.com/ypxof7

Signature
Patrick Steele
http://weblogs.asp.net/psteele
Ivica Muruzovic - 21 Feb 2007 08:12 GMT
jesi li naao reenje?
>Hi all,
>
[quoted text clipped - 14 lines]
>
>TIA,