AppendTo(string selector)

Sets a selector that will be used to select the element the menu should be appended to.

Parameters

selector A jQuery selector.

AutoFocus(bool autoFocus)

Sets a value indicating whether to autofocus the first element in the list.

Parameters

autoFocus If true, the first element in the list will be automatically focused.

Delay(uint delay)

Sets the delay the Autocomplete waits after a keystroke to activate itself.

Parameters

delay The delay in milliseconds.

Disabled(bool disabled)

Sets a value indicating whether the autocomplete is disabled.

Parameters

disabled If true, the autocomplete is disabled.

MinLength(int minLength)

Sets minimum number of characters a user has to type before the Autocomplete activates.

Parameters

minLength The minimum number of characters.

Position(JQueryUIHelpers.Position position)

Sets the position of the suggestion list relative to the input field.

Parameters

position The position.

OnChange(string functionName)

Sets the name of the JavaScript function that is triggered when the field is blurred and the value has changed.

Parameters

functionName The name of the function.

OnClose(string functionName)

Sets the name of the JavaScript function that is triggered when the list is closed.

Parameters

functionName The name of the function.

OnCreate(string functionName)

Sets the name of the JavaScript function that is triggered when the autocomplete is created.

Parameters

functionName The name of the function.

OnFocus(string functionName)

Sets the name of the JavaScript function that is triggered before focus is moved to an item in the list.

Parameters

functionName The name of the function.

OnOpen(string functionName)

Sets the name of the JavaScript function that is triggered when the suggestion list is opened.

Parameters

functionName The name of the function.

OnResponse(string functionName)

Sets the name of the JavaScript function that is triggered after a search completes, before the menu is shown.

Parameters

functionName The name of the function.

OnSearch(string functionName)

Sets the name of the JavaScript function that is triggered before a search request is started, after MinLength and Delay are met.

Parameters

functionName The name of the function.

OnSelect(string functionName)

Sets the name of the JavaScript function that is triggered when an item is selected from the list.

Parameters

functionName The name of the function.