I'm using editForm template and I have a Cancel button on my edit form. This cancel button has CancelCommand name. All is well if I click the Cancel button in normal condition and it closes the edit form as expected. However, if I have validation errors on the editForm, clicking the Cancel button does not close the editForm and I suspect that it causes validation to be fired.
Can anyone tell me how to close the editForm regardless whether I have validation errors on the form or not?
Thanks.
Can anyone tell me how to close the editForm regardless whether I have validation errors on the form or not?
Thanks.