A WebForms wrapper control around the jQuery UI AutoComplete control. This control provides code based AJAX callbacks either to a specified service URL (which allows calls to a CallbackHandler HTTP Handler service for example) or directly to the page using an event based callback to the controls CallbackHandler event.
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.TextBox
Westwind.Web.Controls.AutoComplete
public class AutoComplete : TextBox
Class Members
Member | Description | |
---|---|---|
Constructor |
||
AutoCompleteCallbackHandler |
Method that handles the actual callback routing. public object AutoCompleteCallbackHandler(string term) |
|
RenderControl |
public virtual void RenderControl(HtmlTextWriter writer) |
|
AutoFocus |
Determines whether the selected item in the list will automatically be focused | |
CallbackHandler |
An EventHandler that allows you to serve AJAX data to the AutoComplete client control. The handler receives a string input of the search term typed into the control and should return an array of objects. Each object should have at minimum 'label' and 'value' properties. | |
CssBasePath |
The path to the base CSS Theme. Path is adjusted | |
Delay |
The delay in milliseconds the Autocomplete waits after a keystroke to activate itself. A zero-delay makes sense for local data (more responsive), but can produce a lot of load for remote data, while being less responsive. | |
MinLength |
The minimum length of the input string before autocomplete kicks in | |
OnClientSelection |
The client selection handler called when a selection is made. The handler receives two parameter - a ssda | |
ServerUrl |
Service Url to explicitly call to retrieve data. Not used if the OnServiceHandlerCallback event is set. Alternately you can implement the CallbackHandler delegate. | |
Theme |
Theme applied to the base CSS url. Replaces /base/ with the theme selected |
Requirements
Namespace: Westwind.Web.ControlsAssembly: westwind.web.webforms.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic