/** * This overrides the parent implementation by restoring all the * validator disabled/enabled states. Parent::OnPreRender($param) * is called. * @param TEventParameter event parameter to be passed to the event * handlers */ public function onPreRender($param) { $this->loadValidatorStates(); parent::onPreRender($param); }
/** * Update the control to compare Css class. Override and calls parent onPreRender. */ public function onPreRender($param) { parent::onPreRender($param); $controlToCompare = $this->getControlToCompare(); if (strlen($controlToCompare)) { $this->updateControlCssClass($this->getTargetControl($controlToCompare)); } }