The requirement is to allow the user multiple rows in a combo/ drop down. That is the user will click on drop down there will be a grid with all the values and the user should be able to select (using a checkbox) multiple rows in the drop down.
If the possible?
also what is the difference between a Ulrta Combo and a Drop down
Hi,
Let me start with your second question first. UltraCombo is a standalone control. You can place it on a form all by itself and it's like a ComboBox. The UltraDropDown cannot be used on it's own, because it has no text portion. It's meant to be used as a drop down in a grid cell.
Neither UltraDropDown nor UltraCombo support multiple selection.
But you can create your own multi-select combobox pretty easily using other Infragistics controls.
What you do is use an UltraTextEditor and an UltraWinGrid. On the UltraTextEditor, you use the ButtonsRight collection to add an DropDownEditorButton and set the button's Control property to the grid. Presto, instant dropdown grid. You will have to handle some events to decide what happens to the text portion when the user selects values in the grid and to select the appropriate values in the grid when the user drops down the list.
is it possible to do your solution for web? Im using Infragistics v5.1
if possible can you show me how since I'm a beginner in infragistics.
Are there any code examples of doing this? I'm completely new to using infragistics and I have an app that requires a multi select drop down control. It would be very helpful to see this implemented in code if that exists somewhere.
Thanks!
No, I don't know of any samples of this. What you probably have to do is trap the CellChange event of the grid and search the list in the dropdown to find the matching item, then update the text in the cell. This is not a trivial task, either.
Is there a multi select list box available? Hoping to find a solution for multi selection in a wingrid without having a develop some kind of custom control!
HOWTO:Creating a Multi-Select Dropdown Combo for the WinGrid
In order to get the functionality of Multiselect combo i've workaround something i.e. I've taken a UltraTextEditor with a RightEditorButton, and .Net's CheckedListBox which is contained within ultraPopUpContainer. Now on EditorButtonClick event of UltraTextEditor Show the ultraPopUpContainer and on the Closed event of ultraPopUpContainer you can get the list of selected items.
Dim b As New Infragistics.Win.UltraWinEditors.DropDownEditorButtonb.Control = Me.UltraGrid1Me.UltraTextEditor1.ButtonsRight.Add(b)
Dim b As New Infragistics.Win.UltraWinEditors.DropDownEditorButton b.Control = Me.UltraGrid1 Me.UltraTextEditor1.ButtonsRight.Add(b)
I'm afraid I don't understand the question. I just tried this out by placing an UltraCombo control on a form and adding a DropDownEditorButton to the ButtonsRight collection and the images on the buttons are exactly the same.
In any case, the latest version of the UtraCombo and UltraComboEditor have built-in support for multi-select. So you really don't need to do use the workaround here any more.
Is there a way to make the RightEditorButton have the same icon as the button on a combobox ?