﻿function CheckValidatorsForControl(a) { for (var b = 0; b < a.Validators.length; b++) { if (!a.Validators[b].isvalid) { return false } } return true } function fnOnUpdateValidators() { for (var a = 0; a < Page_Validators.length; a++) { var b = Page_Validators[a]; var c = document.getElementById(b.controltovalidate); if (c != null && c.style != null) { if (b.controltovalidate) { var d = document.getElementById(b.controltovalidate); if (d != null) { d.className = CheckValidatorsForControl(d) ? "txtInput" : "txtError" } } } } }
