I have multiple controls (textboxes, comboboxes etc) and need to validate only when clicking on OK button and I dont want to validate when the control looses focus. I am using ErrorProvider to display an error icon for each control when it fails the criteria specifed in the Validating event handler. My concern here is how to make sure to validate the controls only when clicking on the button (OK button). Also, is it possible to validate a group of controls in a panel only when the panel is visible?
Thanks for any help.