You can disable an aspx validation control by calling ValidatorEnable(element, true/false) function. However, it does not hide the validation error message if it is already displayed.

Here is the code in the ValidatorEnable function.

So to fix the issue, I implemented the function as below

Happy Scripting!!!

Disable ASPX Validation Control via Javascript
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *