MultiSelect
Multi-column DropDown
In this sample, the "multi-column" class was applied to the drop-down rather than to the control.
1 2 3 4 5 6 7 8 9 10 11 12 | using System.Web.Mvc; namespace MvcExplorer.Controllers { public partial class MultiSelectController { public ActionResult MultiColumnDropDown() { return View(Models.Cities.GetCities()); } } } |
1 2 3 4 5 6 7 | @model IEnumerable< string > @Html .C1().MultiSelect().Bind(Model).Placeholder(Resources.MultiSelect.MultiColumnDropDown_Placeholder).DropDownCssClass( "multi-column" ) @section Description{ @Html .Raw(Resources.MultiSelect.MultiColumnDropDown_Text0) } |