ASP.NET Validation Event Cycle

Posted on 16th Feb 2014 by admin

Hi,
I have asp button as follow:The event flow is like this,1. OnClientClick Event is running first.2. Client Script Validation run after that.3. If Client Script Validation is ok, then postback do the btnTest_Click. If the validation is failed, then the button won't postback.My question is, How to insert javascript function (for example: SetSomething(false)) after the Client Script Validation is failed?Thanks before.
Best Regards,

Other forums