# ASP.NET MVC MultiColumnComboBox Overview

The Telerik UI MultiColumnComboBox HtmlHelper for ASP.NET MVC is a server-side wrapper for the Kendo UI MultiColumnComboBox widget.

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

* [Demo page for the MultiColumnComboBox HtmlHelper](https://demos.telerik.com/aspnet-mvc/multicolumncombobox/index)

## Initializing the MultiColumnComboBox

The following example demonstrates how to define the MultiColumnComboBox.

```Razor HtmlHelper
    @(Html.Kendo().MultiColumnComboBox()
        .Name("multicolumncombobox")
        .Placeholder("Select product")
        .DataTextField("ProductName")
        .DataValueField("ProductID")
        .Columns(columns =>
        {
            columns.Add().Field("ProductName").Title("Product Name").Width("200px")
            columns.Add().Field("ProductID").Title("Product ID").Width("200px");
        })
        .Filter(FilterType.StartsWith)
        .DataSource(source => {
            source.Read(read =>
            {
                read.Action("Products_Read", "MultiColumnComboBox");
            })
            .ServerFiltering(true);
        })
    )

```

```C# Controller

    public class MultiColumnComboBoxController : Controller
    {
        public ActionResult Index()
        {
            return View();
        }

        public JsonResult Products_Read(string text)
        {
            var result = GetProducts();

            if (!string.IsNullOrEmpty(text))
            {
                result = result.Where(p => p.ProductName.Contains(text)).ToList();
            }

            return Json(result, JsonRequestBehavior.AllowGet);
        }

        private static IEnumerable<ProductViewModel> GetProducts()
        {
            var result = Enumerable.Range(0, 50).Select(i => new ProductViewModel
            {
                ProductID = "" + i,
                ProductName = "Product " + i
            });

            return result;
        }
    }
```

## Basic Configuration

The following example demonstrates the basic configuration of the MultiColumnComboBox.

```Razor HtmlHelper
    @(Html.Kendo().MultiColumnComboBox()
        .Name("multicolumncombobox")
        .Placeholder("Select product")
        .DataTextField("ProductName")
        .DataValueField("ProductID")
        .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%;" })
        .Filter("contains")
        .AutoBind(true)
        .MinLength(3)
        .Height(400)
        .DataSource(source => source
            .Read(read => read.Action("Products_Read", "MultiColumnComboBox"))
            .ServerFiltering(true)
        )
    )
```

## Functionality and Features

| Feature                                                                                                                            | Description                                                                                                                                                                                                                                  |
| ---------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Data Binding](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/binding/binding-overview) | The MultiColumnComboBox provides a set of options for binding it to data.                                                                                                                                                                    |
| [Appearance](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/appearance)                 | Customize the component appearance based on your requirements.                                                                                                                                                                               |
| [Columns](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/columns)                       | The MultiColumnComboBox allows you to predefine the columns that will be rendered in its drop-down list.                                                                                                                                     |
| [Adaptive Mode](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/adaptive-mode)           | Enable the mobile-friendly rendering of the MultiColumnComboBox popup.                                                                                                                                                                       |
| [Virtualization](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/virtualization)         | Configure the MultiColumnComboBox to use virtualization.                                                                                                                                                                                     |
| [Filtering](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/filtering)                   | Enable the filtering functionality of the component.                                                                                                                                                                                         |
| [Grouping](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/grouping)                     | Bind the MultiColumnComboBox to a grouped DataSource.                                                                                                                                                                                        |
| [Floating Label](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/floating-label)         | Modify the rendering of the component label.                                                                                                                                                                                                 |
| [Cascading](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/cascading)                   | Use a series of two or more cascaded MultiColumnComboBoxes.                                                                                                                                                                                  |
| [Prefix and Suffix](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/prefix-suffix)       | Enhance the component look and feel by adding prefix and suffix adornments.                                                                                                                                                                  |
| [Events](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/events)                         | Handle the component events and implement any custom functionality.                                                                                                                                                                          |
| [Accessibility](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/accessibility/overview)  | The MultiColumnComboBox is accessible by screen readers and provides WAI-ARIA, Section 508, WCAG 2.2, and keyboard support.                                                                                                                  |
| [Cascading](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/cascading)                   | The cascading MultiColumnComboBox is a series of two or more MultiColumnComboBoxes in which each MultiColumnComboBox is filtered according to the selected options that are based on the DataValueField in the previous MultiColumnComboBox. |
| [Templates](https://docs.telerik.com/aspnet-mvc/html-helpers/editors/multicolumncombobox/templates)                                | The  MultiColumnComboBox provides capability to fully customize the content presented to the user.                                                                                                                                           |

## Next Steps

* [Getting Started with the MultiColumnComboBox](https://www.telerik.com/aspnet-mvc/documentation/html-helpers/editors/multicolumncombobox/getting-started)
* [Basic Usage of the MultiColumnComboBox HtmlHelper for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/multicolumncombobox/index)

## See Also

* [Using the API of the MultiColumnComboBox for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/multicolumncombobox/api)
* [Knowledge Base Section](https://www.telerik.com/aspnet-mvc/documentation/knowledge-base)
