See the Introduction for a quick overview of the concept behind active controls (AJAX enabled controls). Most active controls have a property of ActiveControl and a sub-property ClientSide that provides many properties to customize the controls. The CallbackClient property of the TPage class provides many methods to update and alter the client-side content during a callback request. Active controls is reliant on a collection of javascript classes.
For a quick demo of active controls, try the TActiveButton control. See also the later part of the Current Converter tutorial for a more indepth example.
* the tutorial for this control is not completed yet.
The following table shows the Active Controls that can trigger a callback event and whether the control will raise a PostBack event if Javascript was disabled on the client's browser.
Control Name | Triggers Callback | Falls back to PostBack |
---|---|---|
TActiveButton | Yes | Yes |
TActiveCheckBox | Yes | Yes |
TActiveCustomValidator | Yes | Yes |
TActiveHyperLink | No | Yes |
TActiveImage | No | Yes |
TActiveImageButton | Yes | Yes |
TActiveLabel | No | Yes |
TActiveLinkButton | Yes | No |
TActivePanel | No | Yes |
TActiveRadioButton | Yes | Yes |
TActiveTextBox | Yes | Yes |
TCallbackOptions | No | N/A |
TActiveCheckBoxList | Yes | Yes |
TActiveDropDownList | Yes | Yes |
TActiveListBox | Yes | Yes |
TActiveRadioButtonList | Yes | Yes |
TAutoComplete | Yes | No |
TCallback | Yes | No |
TEventTriggeredCallback | Yes | No |
TInPlaceTextBox | Yes | No |
TTimeTriggeredCallback | Yes | No |
TValueTriggeredCallback | Yes | No |
The following classes provide the basic infrastructure classes required to realize the active controls.