On document.ready I would like to set the state of the combobox so the content is highlighted and filtering is ready so the user just has to start typing without further input with the mouse. This is the cb:
@(Html.Kendo().ComboBox()
.Name("cboLocations")
.Filter("contains")
.Suggest(true)
.BindTo(Model.Locations)
.DataTextField("Text")
.DataValueField("Value")
.HtmlAttributes(new { style = "width:100%" })
)
I'd like it to look like:
after the document.ready(); so the user just has to start typing.
Thanks!
Actually stumbled across it:
combobox.input.select();