/**
  * Registers the javascript code for initializing the active control.
  * @param THtmlWriter the renderer.
  */
 public function render($writer)
 {
     parent::render($writer);
     $this->getActiveControl()->registerCallbackClientScript($this->getClientClassName(), $this->getTriggerOptions());
 }