Syncfusion.AspNetMvc.MultiColumnComboBox
34.1.31
Prefix Reserved
dotnet add package Syncfusion.AspNetMvc.MultiColumnComboBox --version 34.1.31
NuGet\Install-Package Syncfusion.AspNetMvc.MultiColumnComboBox -Version 34.1.31
<PackageReference Include="Syncfusion.AspNetMvc.MultiColumnComboBox" Version="34.1.31" />
<PackageVersion Include="Syncfusion.AspNetMvc.MultiColumnComboBox" Version="34.1.31" />
<PackageReference Include="Syncfusion.AspNetMvc.MultiColumnComboBox" />
paket add Syncfusion.AspNetMvc.MultiColumnComboBox --version 34.1.31
#r "nuget: Syncfusion.AspNetMvc.MultiColumnComboBox, 34.1.31"
#:package Syncfusion.AspNetMvc.MultiColumnComboBox@34.1.31
#addin nuget:?package=Syncfusion.AspNetMvc.MultiColumnComboBox&version=34.1.31
#tool nuget:?package=Syncfusion.AspNetMvc.MultiColumnComboBox&version=34.1.31
Syncfusion® ASP.NET MVC MultiColumnComboBox Component
An advanced dropdown component that displays data across multiple columns in its popup, enabling users to see additional related information alongside the primary field for more informed selection.
Key Features
- Displays data in a grid-like multi-column popup
- Column configuration with headers, widths, and text alignment
- Filtering, sorting, and virtualization support
- Custom item templates per column
- Keyboard navigation and accessibility compliant
- Compatible with local and remote data sources
Common Setup
These setup steps are required only once for your application, regardless of which Syncfusion components you use.
1. Install Base NuGet Package
Install-Package Syncfusion.AspNetMvc.MultiColumnComboBox
2. Add Namespace Reference
Edit Web.config under the Views folder and add the Syncfusion.EJ2 namespace:
<namespaces>
<add namespace="Syncfusion.EJ2"/>
</namespaces>
3. Add Stylesheet & Script References
In your layout file (~/Views/Shared/_Layout.cshtml), add the following in the <head> section:
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewBag.Title - Syncfusion Application</title>
<link rel="stylesheet" href="https://cdn.syncfusion.com/ej2/34.1.31/fluent2.css" />
<script src="https://cdn.syncfusion.com/ej2/34.1.31/dist/ej2.min.js"></script>
</head>
4. Register Script Manager
At the end of the <body> tag in your layout file (~/Views/Shared/_Layout.cshtml):
<body>
@RenderBody()
@Html.EJS().ScriptManager()
</body>
Quick Start
Step 1: Add ASP.NET MVC MultiColumnComboBox control
Add the Syncfusion® ASP.NET MVC MultiColumnComboBox control ~/Views/Home/Index.cshtml page:
@using Syncfusion.EJ2.MultiColumnComboBox;
<div id="container" style="width: 500px">
@Html.EJS().MultiColumnComboBox("default").DataSource((IEnumerable<object>)Model).Placeholder("Select a employee").Fields(
new Syncfusion.EJ2.MultiColumnComboBox.MultiColumnComboBoxFieldSettings { Text = "Name", Value = "EmpID" }).Columns(col =>
{
col.Field("EmpID").Header("Employee ID").Width("120").Add();
col.Field("Name").Header("Name").Width("120").Add();
col.Field("Designation").Header("Designation").Width("120").Add();
col.Field("Country").Header("Country").Width("100").Add();
}).Render()
</div>
Step 2: Create controller ~/Controllers/HomeController.cs
public ActionResult Demo()
{
var employees = new List<Employee>
{
new Employee { EmpID = 1001, Name = "Andrew Fuller", Designation = "Team Lead", Country = "England" },
new Employee { EmpID = 1002, Name = "Robert", Designation = "Developer", Country = "USA" },
new Employee { EmpID = 1003, Name = "Michael", Designation = "HR", Country = "Russia" },
new Employee { EmpID = 1004, Name = "Steven Buchanan", Designation = "Product Manager", Country = "Ukraine" },
new Employee { EmpID = 1005, Name = "Margaret Peacock", Designation = "Developer", Country = "Egypt" },
new Employee { EmpID = 1006, Name = "Janet Leverling", Designation = "Team Lead", Country = "Africa" },
new Employee { EmpID = 1007, Name = "Alice", Designation = "Product Manager", Country = "Australia" },
new Employee { EmpID = 1008, Name = "Bob", Designation = "Developer", Country = "India" }
};
ViewBag.EmpData = employees;
return View(ViewBag.EmpData);
}
public class Employee
{
public int EmpID { get; set; }
public string Name { get; set; }
public string Designation { get; set; }
public string Country { get; set; }
}
Step 3: Run the Application
Press Ctrl+F5 to run the application in your browser.
Documentation
Support
License
This is a commercial product and requires a paid license for possession or use. Review the Syncfusion® EULA
About Syncfusion®
Syncfusion® provides 1600+ UI components and frameworks for web, mobile, and desktop development across multiple platforms:
Web: Blazor | ASP.NET MVC | ASP.NET MVC | JavaScript | Angular | React | Vue
Desktop: WinForms | WPF | WinUI
Learn more at www.syncfusion.com
sales@syncfusion.com | Toll Free: 1-888-9-DOTNET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Newtonsoft.Json (>= 13.0.3)
- Syncfusion.AspNetMvc.Base (>= 34.1.31)
- Syncfusion.EJ2.JavaScript (>= 34.1.31)
- Syncfusion.Licensing (>= 34.1.31)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.