protected function registerClientScript()
{
$options = TJavaScript::encode($this->getClientOptions());
$className = $this->getClientClassName();
$cs = $this->getPage()->getClientScript();
$cs->registerPradoScript('keyboard');
$cs->registerEndScript('prado:' . $this->getClientID(), "new {$className}({$options});");
}