Class \Prado\Web\UI\ActiveControls\TActiveDatePicker
TActiveDatePicker class
The active control counter part to date picker control. When the date selection is changed, the \Prado\Web\UI\ActiveControls\onCallback event is raised.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveDatePicker implements IActiveControl, ICallbackEventHandler
- \Prado\Web\UI\WebControls\TDatePicker
- \Prado\Web\UI\WebControls\TTextBox implements IPostBackDataHandler, IValidatable, IDataRenderer
- \Prado\Web\UI\WebControls\TWebControl implements IStyleable
- \Prado\Web\UI\TControl implements IRenderable, IBindable
- \Prado\TApplicationComponent
- \Prado\TComponent
Author: Christophe Boulain <Christophe.Boulain@gmail.com>
Since: 3.1.3
public
|
__construct() : mixed
Creates a new callback control, sets the adapter to
TActiveControlAdapter. If you override this class, be sure to set the
adapter appropriately by, for example, by calling this constructor.
|
public
|
|
public
|
|
public
|
onCallback(TCallbackEventParameter $param) : mixed
This method is invoked when a callback is requested. The method raises
'OnCallback' event to fire up the event handlers. If you override this
method, be sure to call the parent implementation so that the event
handler can be invoked.
|
public
|
raiseCallbackEvent(TCallbackEventParameter $param) : mixed
Raises the callback event. This method is required by {@see
ICallbackEventHandler} interface.
This method is mainly used by framework and control developers. |
public
|
setAutoPostBack(bool $value) : mixed
Sets the value indicating if postback automatically.
An automatic postback to the server will occur whenever the user modifies the text in the TActiveDatePicker control and then tabs out of the component. |
public
|
setText(string $value) : mixed
Client-side Text property can only be updated after the OnLoad stage.
|
protected
|
|
protected
|
|
protected
|
registerCalendarClientScriptPre() : mixed
Registers the javascript code to initialize the date picker.
|
protected
|