Disable validation on ESC key

Problem:
There are a TextBox and a Button on the form,the Button is set to the CancelButton of Form. TextBox.CancelValidation
property is set to true, while Button.CancelValidation is set to false. When clicked on Button the validation is not performed and form closes successfully but pressing ESC key does not close the Form.
Clicking on the button [...]


Share to Facebook Share to Twitter Stumble It Share on Tumblr Digg More...