setAdapter(new TActiveControlAdapter($this)); } public function getActiveControl() { return $this->getAdapter()->getActiveControl(); } /** * Client-side Text property can only be updated after the OnLoad stage. * @param string text content for the textbox */ public function setText($value) { parent::setText($value); if($this->getActiveControl()->canUpdateClientSide() && $this->getHasLoadedPostData()) $this->getPage()->getCallbackClient()->setValue($this, $value); } } ?>