This isn't quite as straight forward as one may think. I'm using a plugin called jQuery MultiSelect and multiple <select> options using XSLT as follows:
<xsl:for-each select="RootField">
<select id="{RootField}" multiple="multiple" size="3">
<option value=""></option>
<xsl:for-each select="ChildField">
<option value="{C...
I have a text box where I want to limit the number of selected items to MaxSelection. The desired behaviour is that once MaxSelection items are selected any futher selections are ignored. (Thus this question is different from "limit selections in a listbox in vb.net").
I have an event handler for the SelectedIndexChanged event for the...
I have a ListBox with SelectionMode="Multiple", which allows me to select multiple rows by clicking either the left or right mouse buttons.
How can I restrict the selection to occur from the LEFT mouse button click only?
...
I'm using the jquery multiselect control from: http://abeautifulsite.net/notebook/62
I need to manually check one of the options via javascript on a specific event.
Whenever I try to change the checked attribute, or trigger a click, call the click function explicitely etc., I the checkbox gets checked but the CSS is never changed and t...
I'm working on creating a CheckedComboBox WPF control. I want to add a SelectedValuesProperty that I could bind through via XAML. I've tried a few different things and haven't been able to get it to work yet. Does anyone have any suggestions on how to approach this? My control inherits from MultiSelector. Thanks in advance!
This is ...
I'm working on a piece of code that I inherited and am trying to expand it from only being able to select one row to being able to select multiple rows.
Essentially, the item I'm working with displays like a data table. It contains methods for "OnSelectItem" and "OnMouseDown", with "OnMouseDown" checking to see if the click is right mou...
I have the following multi-select box in a HTML form, where user can select one or more option.
<select id="eng_0" name="eng_0[]" multiple size="3">
<option value="Privilégier">Privilégier</option>
<option value="Accepté">Accepté</option>
<option value="Temporaire">Temporaire</option>
</select>
When the user selects no option, t...
Chart on reportviewer does not load unless i click view report button when combolist parameters are passed.
All the selected parameters are passed correctly and report loads only after clicking 'view report' button on the report viewer.
I have this report viewer on an ASP.NET page and my parameters are passed using session variables cre...
When ever I try to call store procedure in mysql that sends back a result set, it keeps saying me that "can't return a result set in the given context".
I've google it and some said it's mysql bug, some said you should change your mysqli driver and ....
Situation :
Using mysqli driver Client API library version 5.0.51a , PHP Version ...
I have a project where we are loading a multi-select listbox from a collection of objects.
I have another entity object that has a collection that I want to bind to SelectedItems somehow.
Is there any way to do this using object binding sources or some kind of binding source without writing code? Sure I can loop through the collection ...
We have a column in cognos which has the comma delimited values like (AIX1, AIX2,AIX3) in each rows. We want to multiselect the results where say AIX2,AIX3 contained. How do I do it in cognos.
...
How can I retrieve the value of a clicked item in a multi-select listbox?
Currently, if I click one item and use lstBox.SelectedValue, it will return the proper value; however, if I then click on another item, I am still shown the first item's value.
Basically, I want the value of the item most recently clicked on, regardless of whet...
I'm using the excellent jEditable plugin for some in-place editing on my page. There is one spot I need a multiple select element. Is there a jEditable plugin that allows me to do this?
I've been trying to use the jEditable author's plugin API to create my own multiselect plugin, but no dice so far. There just doesn't seem to be quite e...
Hi,
is it posible to disable the rectangle-multiselection but allow the CTRL-multiselection in a jqueryUI-selectable?
If yes, how?
...
Hi All,
I've noticed that when one performs the above action and then copies the result back into an Excel sheet you get only those cells selected - which is great. However when one copies the selected cells into notepad, you get the complete range.
Is there a way around this..?
...
Hello,
1) Have a listbox with 3 values out of 5 selected
2) When I click to select another value without holding CTRL button, it will unselect over values
How to make it keep other selected values if new value is selected?
...
Hi,
We're using the WPF DataGrid from the WPF Toolkit and are employing MVVM. I'm finding some challenges in using MultiSelect in MVVM and am sure that I'm just missing something simple. I can use the "IsSelected" in the ViewModel to get the event when selecting a row in the DataGrid. This works fine for a single selection. If I set "Se...
Let's assume we have an HTML multi-select.
How to prepare an ajax request URL with the selected values from the multi-select. I'm using YUI dataTable, so I do not think I can use form serialization (but would not even want to even if I could)?
The URL generated should be the same as with a normal form submission with page refresh.
I di...
Hello,
This question is similar to http://stackoverflow.com/questions/944158/php-multiple-dropdown-box-form-submit-to-mysql, but with a twist.
Let's assume we have an HTML multi-select, which gets submitted to a PHP backend.
How do you elegantly create a mysql request with an OR condition on the values of a multi-select?
For instance...
I'm using YUI as javascript framework, and can successfully react when the user changes the value of basic input fields, the reaction being to sent an Ajax query.
However, I'm not so lucky with multiselect dropdown lists:
listening to "change" would send my query each time the user adds/removes an item to his selection
listening to "b...