Skip to main content

All Questions

-1 votes
1 answer
3k views

Multiple Select (MultiSelect) DropDownList with CheckBoxes in ASP.Net using jQuery on Modal popup through server side calling the popup

How to work on Multiple Select (MultiSelect) DropDownList with CheckBoxes in ASP.Net using jQuery on Bootstrap Modal popup and call that popup through server side $(function () { $('[id*=...
User's user avatar
  • 1
1 vote
1 answer
5k views

MVC Html Helper MultiSelect CheckBox

public ActionResult Edit(int? id) { ViewBag.Role = new SelectList((from t in db.Roles where t.RoleID != 1 && t.RoleID != 2 select t), "RoleID", "RoleName"); if (id == null)...
loli pop's user avatar
0 votes
2 answers
5k views

set selected value in jquery multiselect dropdown

I have a scenario that I have to set the multiple values as selected in the multi-select dropdown as shown in below screenshot. Following is my model and I have ExcursionList as the type of string ...
Null_Exception's user avatar
2 votes
1 answer
2k views

"Another object on this page already uses ID 'XXXXXXX'

Not related to: Another object on this page already uses ID 'XXXXXXX' I've got a jQuery Multiselect Listbox control on my page: jQuery(document).ready(function () { jQuery(function () { ...
Johnny Bones's user avatar
  • 8,434
0 votes
2 answers
705 views

Setting the value of a jQuery Multiselect DropDownList to "All" on page load

On my page, I have a series of jQuery DropDowns with this coding on the ASP page (some are slightly altered, but that's not relevant): jQuery(document).ready(function () { jQuery(function () { ...
Johnny Bones's user avatar
  • 8,434
0 votes
1 answer
1k views

Pre-select the values in a multi-select listbox based on records in query results

Imagine this table: MatchID UserID MatchField MatchValue 7 5 MatchInterests 3 8 5 MatchInterests 7 9 5 MatchInterests 12 10 5 ...
Johnny Bones's user avatar
  • 8,434
1 vote
1 answer
83 views

Why does jquery multiselect control stop working properly when dynamically filling it?

I have this code: <select id="sState" multiple="multiple" name="sState" size="5"> <option value="option1">Option 1</option> <option value="option2">Option 2</option> &...
Johnny Bones's user avatar
  • 8,434