Class TClientSideOptions
TClientSideOptions abstract class.
TClientSideOptions manages client-side options for components that have common client-side javascript behaviours and client-side events such as between ActiveControls and validators.
- TComponent
-
TClientSideOptions
Direct known subclasses
TCallbackClientSide, TClientSideValidationSummaryOptions, TColorPickerClientSide, TDatePickerClientScript, TSliderClientScript, TValidatorClientSide
Abstract
Package: System\Web\UI
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: <weizhuo[at]gmail[dot]com>
Since: 3.0
Located at Web/UI/TClientScriptManager.php
Package: System\Web\UI
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: <weizhuo[at]gmail[dot]com>
Since: 3.0
Located at Web/UI/TClientScriptManager.php
protected
|
#
setFunction( string $name, string $code )
Adds on client-side event handler by wrapping the code within a javascript function block. If the code begins with "javascript:", the code is assumed to be a javascript function block rather than arbiturary javascript statements. |
protected
string
|
|
protected
|
|
public
|
|
protected
|
#
ensureFunction( mixed $javascript )
Ensure that the javascript statements are wrapped in a javascript function
block as |
GLOBAL_RAISE_EVENT_LISTENER
|