Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
8
Reply
Problem dropdown with checkbox by bootstrap multiselect
Mani Kandan
Mar 24 2017 4:07 AM
1.8k
Reply
I am working on MVC 5, there is have
@Html.DropDownListFor(
model
=
>
model.ShowAdConfigIDs, ViewData["Services"] as List
<
SelectListItem
>
, "Select", new { @
id
=
"DDLServiceCate"
, @
class
=
"form-control "
})
I want to do bootstrap multiselect dropdown with checkbox. For, I have tried:
<script src=
"~/Scripts/bootstrap-multiselect.js"
></script>
<link href=
"~/css/bootstrap-multiselect.css"
rel=
"stylesheet"
/>
<script type=
"text/javascript"
>
$(
function
() {
$(
'[id*=DDLServiceCate]'
).multiselect({
includeSelectAllOption:
true
});
});
</script>
But after implementing this, look like below image.
But actually I want look like below image showing.
How can I do this ?
Please help me...
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
8
)
Next Recommended Forum
ASP.NET MVC 3 Razor
Grouping Data In gridview1 for edit on ID based