You can enable or disable validator control on client in asp.net by using below code.
var RequiredFieldValidator1 = document.getElementById('RequiredFieldValidator1'); // for enable the validation control ValidatorEnable(document.getElementById('RequiredFieldValidator1'), true); // for Disable the validation control ValidatorEnable(document.getElementById('RequiredFieldValidator1'), false);
No comments:
Post a Comment