How can I bind a category and sub-category to be shown in the same bootstrap multiselect dropdown ?
Here is the table structure and table name is 'productcategory'.

View,
- "~/css/bootstrap-multiselect.css" rel="stylesheet" />
-
- @Html.DropDownListFor(model => model.ShowAdConfigIDs, ViewData["Products"] as List<SelectListItem>, new { @id = "DDLProductCate", @class = "form-control", @multiple = "multiple" })

KanakPosted Apr 28, 2017, 8:36 AM