N
~~~ .NET Ed ~~~
Something I never liked about the error providers in Windows Forms is that
sometimes they get on the way. But pershaps there is something I do not
know.
I have several textboxes and comboboxes in my windows form. These have an
associated Error provider which is used in conjunction with the control's
Validating event. So far so good.
However, if the user decides to press the Cancel button and abandon the form
then the error provider will not let the user abandon the form until all
items validate correctly!!! is there a way I can have my Cancel button click
event be fired in spite of the ErrorProvider ?
Thanks in advance
Emilio
sometimes they get on the way. But pershaps there is something I do not
know.
I have several textboxes and comboboxes in my windows form. These have an
associated Error provider which is used in conjunction with the control's
Validating event. So far so good.
However, if the user decides to press the Cancel button and abandon the form
then the error provider will not let the user abandon the form until all
items validate correctly!!! is there a way I can have my Cancel button click
event be fired in spite of the ErrorProvider ?
Thanks in advance
Emilio