DropDownList Tag Helper Overview

The DropDownList tag helper helps you configure the Kendo UI DropDownList widget in ASP.NET Core applications.

Basic Usage

The following example demonstrates how to define the DropDownList by using the DropDownList tag helper.

    <kendo-dropdownlist name="products" filter="FilterType.StartsWith"></kendo-dropdownlist>


The DropDownList tag helper configuration options are passed as attributes of the tag.

          .HtmlAttributes(new { style = "width:100%;" })
          .DataSource(source => source
              .Read(read => read.Action("GetProducts", "Home"))

    <kendo-dropdownlist name="products" filter="FilterType.Contains"
                        placeholder="Select product"
                        style="width: 100%;">
        <datasource type="DataSourceTagHelperType.Custom">
                <read url="@Url.Action("GetProducts", "Home")" />

See Also

In this article
Not finding the help you need? Improve this article