Prado\Web\UI\ActiveControls\TActiveCustomValidator::addAttributesToRender PHP Method

addAttributesToRender() protected method

Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control.
protected addAttributesToRender ( $writer )
    protected function addAttributesToRender($writer)
    {
        parent::addAttributesToRender($writer);
        TBaseValidator::registerClientScriptValidator();
    }