Hi
I'm using an UltraCombo .
I'd like to creat a multi-select ultra Combo, this control is used to select multiple items but this works not fine when the combo is dropped down, in the combo i just selected only one line.
I've already tried to override this behaviour by clearing the text selection and setting the caret to the end in the MultiSelectDropDown1.List.Items event like webform. But this does not help. i'm newbie in winform :(
Is there another way to do this?
Thanks in advance!
No, typing into a multi-select combo is not supported. You can Submit a Feature Request.
Hi Mike
I can create the control fine, the only problem I have is that I have many items in my list (5,000), is there any way I can tell the control to do row matching depending what text the user has enter into the input box.
Many Thanks
Hi,
You are correct. It sounds like your IsActive field is a boolean field that comes from the data source. You don't want to use that field as the selection column, since it's actual data. What you would need to do in a case like this is add an unbound column to your control and set it's DataType to Boolean to act as the selection column.
Something is wrong here unless I am misunderstanding what multi-select in UltraCombo means. I want to have the same functionality as UltraComboEditor when CheckedListSettings.CheckBoxStyle = Infragistics.Win.CheckStyle.CheckBox but with the ability to show multiple columns in dropdown. So from your example (with 3 columns EmployeeID, LastName, IsActive) I want to have EmployeeID column hidden (it is just number) LastName as Displayed, IsActive displayed in dropdown as additional column for user info, but with a checkbox to the left where user can select multiple rows (without combo closing until enter or leave, etc. Then get the valuelist of EmployeeID's to use for other functionality. The UltraCombo is stand alone and the EmployeeID field is not bound to any datafield.
From you code, setting the IsActive field to a checkeditor, just displays on open various checked states depending on the IsActive value in the datasource for the list, and editing just checks these. What possible purpose would that do? I don't want to change the value of the IsActive field, just select rows. Could you please further expand/correct the code so that when my ultra combo drops down, the EmployeeID fields is hidden, there is a check on the left of the dropdown rows, then the first columnd from the list source (LastName) the the IsActive field. Then after selecting rows, what is in the value list?
Thanks
Thanks.
Well, if the Value of the control is not bound, then the only other possibility is that you have set LimitToList to true and when you select multiple items, they are not matching up to the items on the list. This is most likely a problem with the data types the DataValues or the DisplayTexts on the list.