我正在通过ASP.NET-MVC开发Web应用程序。
HTML:
@Html.DropDownListFor(x => x.TEST, (SelectList)ViewBag.testMasterList, null, new { id = "dropDownListTest", title = "[--Select the TEST--]", @class = "selectpicker", data_style = "btn-info", data_width = "fit", data_live_search = "true", data_selected_text_format = "count > 4", data_size = "9", multiple = "multiple" })
图片:
我可以添加data_live_search,但是我不知道如何将select / deselect全部添加到selectpicker。
请问有人可以帮我吗?