Active Controls (AJAX enabled Controls)

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 Currency Converter tutorial for a more in depth example.

Standard Active Controls

Active List Controls

Active Data Controls

Extended Active Controls

Active Control Abilities

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 NoYes
TActiveImage NoYes
TActiveImageButton YesYes
TActiveLabel NoYes
TActiveLinkButton YesNo
TActivePanel NoYes
TActiveRadioButton YesYes
TActiveTextBox YesYes
TCallbackOptions NoN/A
TActiveCheckBoxList YesYes
TActiveDropDownList YesYes
TActiveListBox YesYes
TActiveRadioButtonList YesYes
TAutoComplete Yes No
TCallback YesNo
TEventTriggeredCallback YesNo
TInPlaceTextBox YesNo
TTimeTriggeredCallback YesNo
TValueTriggeredCallback YesNo
TDropContainer YesNo
TDraggable NoNo

Active Control Basic Infrastructure Classes

The following classes provide the basic infrastructure classes required to realize the active controls. They can be useful to develop new active controls, but Prado users tipically don't need to use them.

Active Control Infrastructure Advanced Classes

The following classes provide advanced properties and events needed to realize the active controls. A Prado user can use them to customize active controls behaviour and interact directly with the client side during a callback.