protected function renderClientControlScript($writer) { $writer->addAttribute('id', $this->getClientID()); $cs = $this->getPage()->getClientScript(); $cs->registerPostBackControl($this->getClientClassName(), $this->getPostBackOptions()); }