public function registerCallbackClientScript($class, $options = null)
{
$cs = $this->getPage()->getClientScript();
if (is_array($options)) {
$options = array_merge($this->getClientSideOptions(), $options);
} else {
$options = $this->getClientSideOptions();
}
//remove true as default to save bytes
if ($options['CausesValidation'] === true) {
$options['CausesValidation'] = '';
}
$cs->registerCallbackControl($class, $options);
}