public function onPreRender($param) { parent::onPreRender($param); if (trim($this->_status)) { $this->label1->Text = $this->_status; } }
/** * Register the callback script file. * @param TEventParameter pre-render parameters */ function onPreRender($param) { if (!empty($this->callbacksCandidates) && !$this->isScriptFileRegistered(TService_Callback::service)) { $this->registerScriptFile(TService_Callback::service, $this->getCallbackScriptFile()); } parent::onPreRender($param); }
public function onPreRender($param) { parent::onPreRender($param); $this->registerScriptClientId($this->ListNMBS); $this->registerScriptClientId($this->ListMIVB); $this->registerScriptClientId($this->ListDeLijn); $this->registerScriptClientId($this->SelectedNMBS); $this->registerScriptClientId($this->SelectedMIVB); $this->registerScriptClientId($this->SelectedDeLijn); $this->registerScriptClientId($this->HiddenStations); }
public function onPreRender($param) { parent::onPreRender($param); $this->button1->Attributes->onclick = "{$this->uploader->getCallbackJavascript()}; return false;"; }
function onPreRender($param) { parent::onPreRender($param); $this->panel1->Style = $this->check1->Checked ? "display:block" : "display:none"; }
/** * Register the callback script file. * @param TEventParameter pre-render parameters */ protected function onPreRender($param) { $this->registerClientScript('ajax'); if (!empty($this->callbacksCandidates) && !$this->isScriptFileRegistered(get_class($this))) { $script = $this->service->getClientUri(); $this->registerScriptFile(get_class($this), $script); } parent::onPreRender($param); }
public function onPrerender($param) { parent::onPreRender($param); //If there's a listbox, select the first item (somehow this need to be done at onPrerender, Prado?) $sess = $this->Application->getSession(); if ($sess->has("listbox")) { $this->PathHolder->AddPath->setSelectedIndex(0); } }