/**
  * Calls the client-side static method for this control class.
  * @param string static method name
  * @param mixed method parmaeter
  */
 protected function callClientFunction($func, $value)
 {
     if ($this->getActiveControl()->canUpdateClientSide()) {
         $client = $this->getPage()->getCallbackClient();
         $code = parent::getClientClassName() . '.' . $func;
         $client->callClientFunction($code, array($this, $value));
     }
 }