MultiColumnComboBox Overview

Telerik UI for ASP.NET Core Ninja image

The MultiColumnComboBox is part of Telerik UI for ASP.NET Core, a professional grade UI library with 110+ components for building modern and feature-rich applications. To try it out sign up for a free 30-day trial.

The Telerik UI MultiColumnComboBox TagHelper and HtmlHelper for ASP.NET Core are server-side wrappers for the Kendo UI MultiColumnComboBox widget.

The MultiColumnComboBox visualizes huge sets of data in a grid-like table.

Initializing the MultiColumnComboBox

The following example demonstrates how to define the MultiColumnComboBox.

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

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

Basic Configuration

The following example demonstrates the basic configuration of the MultiColumnComboBox.

        .Placeholder("Select product")
        .Columns(columns =>
            columns.Add().Field("ProductName").Title("Product Name").Width("200px")
            columns.Add().Field("ProductID").Title("Product ID").Width("200px");
        .HtmlAttributes(new { style = "width:100%;" })
        .DataSource(source => source
            .Read(read => read.Action("Products_Read", "MultiColumnComboBox"))

Functionality and Features


For a complete example on basic MultiColumnComboBox events, refer to the demo on using the events of the MultiColumnComboBox.

Referencing Existing Instances

To reference an existing MultiColumnComboBox instance, use the configuration option. Once a reference is established, use the MultiColumnComboBox client-side API to control its behavior.

    // Place the following after your Telerik UI MultiColumnComboBox for ASP.NET Core declaration.
        $(document).ready(function() {
            // The Name() of the MultiColumnComboBox is used to get its client-side instance.
            var mccombobox = $("#multicolumncombobox").data("kendoMultiColumnComboBox");

See Also

In this article