Prado\Web\UI\WebControls\TCompareValidator::setControlToCompare PHP Method

setControlToCompare() public method

Sets the input component to compare with the input control being validated.
public setControlToCompare ( $value )
    public function setControlToCompare($value)
    {
        $this->setViewState('ControlToCompare', $value, '');
    }