Prado\Web\UI\ActiveControls\TBaseActiveCallbackControl::canCauseValidation PHP Method

canCauseValidation() public method

public canCauseValidation ( ) : boolean
return boolean whether to perform validation if the callback is requested.
    public function canCauseValidation()
    {
        if ($this->getCausesValidation()) {
            $group = $this->getValidationGroup();
            return $this->getPage()->getValidators($group)->getCount() > 0;
        } else {
            return false;
        }
    }