ErrorProvider

J

Jay Pondy

I have a textbox which requires a numeric value and I am using the Validating Event to call the ErrorProvider.SetError method when the validation fails.

I also have a Cancel button with the CausesValidation property set to FALSE.

If I give the textbox focus and enter an empty string and then attempt to click the Cancel button the Validating event fires and the form will not close. Is
this the correct behavior?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top