/** * Control subclasses should return their state data that they will use to restore later. * @return mixed */ protected function GetState() { $state = parent::GetState(); $state['selectedId'] = $this->SelectedId; return $state; }