I would like to subscribe to whatever event is fired when my ASP.NET form is validated successfully.
Here is the scenario: On the click of a button on a payment form, I want to show a message ‘processing,’ however I only want to show this button when the for is validated succesfully.
I am using native ASP.NET form validation.
I don’t think that the built in validators expose any such events. You could always use the
CustomValidatorand provide aOnClientValidatemethod that will combine the validation you’re looking for as well as the UI changes you desire.