I have a Kendo UI autocomplete using the MVC helper:
@(Html.Kendo().AutoCompleteFor(m => m)
.DataSource(dataSource => dataSource.Read(read => read.Action("CustomerNames_Read", "Wells")))
.DataTextField("Name")
.MinLength(3))
The MinLength works fine, only retrieving values when 3 letters are entered.
The problem is if you clear the box it retrieves all values (which in this instance is 1000+). How can I stop this?
The same behavior can be seen in the demo:
http://demos.telerik.com/kendo-ui/autocomplete/index
Enter a letter, such as 'b', then delete it - all values are retrieved.