M
mishra712
Hi All,
I have a few text boxes on my WinForm which need to be validated before
they lose focus. For this I have used 'validating' event, which shows a
message box when the validation fails. What I want is that this
validation shouldn't take place when i click on the exit button. I have
set the 'Causes Validation' property of the Exitbutton as false, still
when I click on it the validating event gets fired.
Does anybody has solution to this?
Thanks in advance.
Abhishek
I have a few text boxes on my WinForm which need to be validated before
they lose focus. For this I have used 'validating' event, which shows a
message box when the validation fails. What I want is that this
validation shouldn't take place when i click on the exit button. I have
set the 'Causes Validation' property of the Exitbutton as false, still
when I click on it the validating event gets fired.
Does anybody has solution to this?
Thanks in advance.
Abhishek