The Autocomplete feature retrieves and displays a list of matching records from an AJAX service as a user types an entry. For example it can be used within a search form to provide a list of suggested search terms.
This feature is available under two names: PTAutcomplete and YahooAutocomplete, each implemented via a different AJAX library: Prototype or Yahoo UI. Each implementation differs slightly, with one of differences being how parameters are passed from the current page to a corresponding AJAX service. The PTAutcomplete feature passes the value of the current control as form parameter (POST) named the same as the current control. The YahooAutocomplete feature passes the value of the current control as URL parameter always named "query". An AJAX service can then use the appropriate parameter to retrieve matching records.
Textbox
Property | Description |
---|---|
Enabled | Specifies whether the feature is active. |
Name | User assigned name identifying the feature within HTML. |
Service Page | AJAX Service page used to retrieve matching records. |
Indicator | Label control to be used as the status indicator shown when the feature is retrieving data. Not supported by Yahoo UI. |