Class \Prado\Web\UI\ActiveControls\TEventTriggeredCallback
TEventTriggeredCallback Class
Triggers a new callback request when a particular \Prado\Web\UI\ActiveControls\setEventName on a control with ID given by \Prado\Web\UI\ActiveControls\setControlID is raised.
The default action of the event on the client-side can be prevented when \Prado\Web\UI\ActiveControls\setPreventDefaultAction is set to true.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TEventTriggeredCallback
- \Prado\Web\UI\ActiveControls\TTriggeredCallback
- \Prado\Web\UI\ActiveControls\TCallback implements IActiveControl, ICallbackEventHandler
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1
public
|
|
public
|
|
public
|
render(THtmlWriter $writer) : mixed
Registers the javascript code for initializing the active control.
|
public
|
setEventName(string $value) : mixed
Sets the client-side event name that fires the callback request.
|
public
|
|
protected
|
|
protected
|