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.
HOWTO:Creating a Multi-Select Dropdown Combo for the WinGrid
I'm sure this is doable in v7.3 but just need a little help. I took the C# sample from the website. I had to add my 7.3 as a reference and removed the 5.2 references. I now get a compile error:
Warning 1 The designer cannot process the code at line 76:
this.UltraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.Edit;
The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.
From what I understand, this is native to v9.1 and higher?
I don't see why you would be getting an error on that line of code. The CellClickAction property has been around forever, it's not new.
Is there more detail available about the error?
Can you post the rest of the InitializeComponent code - sometimes VS reports the error on the wrong line and it's really one line above or below that is causing the problem.
Hi, Mike.
I solved the problem. apparently taking the approach of replacing one v7.3 with v9.1 reference at a time was not good. I replaced all the references on v7.3 with v9.1 and is purring like a kitten.
Yeah, you definitely cannot mix references from different versions in the same application.