AutoSuggestMenu Demo 1
City Demo
Start typing the city. As you type -- you will see auto complete box filled with suggested cities. You can change various AutoSuggestMenu options in the table to the right.
City:
AutoSuggestMenu options
Minimum suggest chars:
Show suggestions starting specified number of chars in text box. Defaults to 1.
Maximum suggest chars:
Show suggestions only up to specified number of chars in text box. Defaults to 5.
Use Paging:
Page through suggestions. Defaults to True.
Page size:
Used only when paging is enabled. Defaults to 10.
Max Height:
In pixels. Can be used if paging is turned off to limit size of suggestions menu. Vertical scrollbar will be used to view all suggestions. By default - not specified.
Use custom styles:
You have control over the look of all aspects of AutoSuggestMenu. You can either modify default styles in ENTech.WebControls.css, or add new ones.
Update TextBox on up/down:
Indicates if textbox is updated when you press up and down. Default to true.
Handle client-side onTextBoxUpdate:
Add event handler when menu item is selected into text box.