public function setIsValid($value)
{
// Always update the clientside, since the clientside's value for IsValid
// it could have been changed by the clientside validation.
parent::setIsValid($value);
if ($this->getActiveControl()->canUpdateClientSide()) {
$client = $this->getPage()->getCallbackClient();
$func = 'Prado.Validation.updateActiveCustomValidator';
$client->callClientFunction($func, array($this, $value));
}
}