New to Kendo UI for jQuery? Download free 30-day trial

Disable noDataTemplate in AutoComplete, MultiSelect, ComboBox, and DropDownList for MVC


Product Progress® Kendo UI® AutoComplete for jQuery


The .NoDataTemplate method of the ASP.NET MVC wrappers for the dropdown widgets—AutoComplete, MultiSelect, ComboBox, and DropDownList—accepts only strings as parameters. As a result, the template is not displayed.


Disable noDataTemplate by setting the noDataTemplate option of the wrapped widget to false after the wrapped widget is initialized.

<input id="autocomplete" style="width: 100%;" />
    // The below configuration mimicks the initialization with a wrapper (MVC/Core, JSP/PHP).

            dataSource: {
            data: ["One", "Two"]
        var autocomplete = $("#autocomplete").data("kendoAutoComplete");
        autocomplete.setOptions({ noDataTemplate: false });
In this article