I agree that a custom validator would be best, but if you do need to do it on the client side, you can use the ValidatorEnable function.
ValidatorEnable(document.getElementById("<%= RequiredFieldValidator.ClientID %>"), false);
(Note that I have never actually tried this myself, but I have heard of it successfully being used to disable validators on the client side.)
Solution: http://stackoverflow.com/questions/15254210/only-enable-requiredfieldvalidator-when-parent-element-is-visible
1 comment:
Banteng88 | Agen Bola | Agen Judi | Agen Sbobet
Agen Bola
Agen Judi Online
Agen SBOBET
Agen IBCBET
Agen CASINO
Poker Online
Agen Judi Terpercaya
Prediksi Bola
Bandar Judi
Bandar Bola
Judi Online
Bola Online
Post a Comment