TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhilash J A
530
2.4k
600.4k
Problem dropdown with checkbox by bootstrap multiselect
Mar 24 2017 4:07 AM
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...
Reply
Answers (
10
)
ASP.NET MVC 3 Razor
Grouping Data In gridview1 for edit on ID based