I am trying to add two columns with ultra-combo boxes to Ultra grid. So far I have this code , but I don’t see the column. Why is that.
UltraGridLayout layout = args.Layout;
UltraGridBand band = layout.Bands[0];
band.Columns["Cutsomer"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;
Please could you paste the code as I have arrived at a similar problem and would like to see what you have done to make the combox work
If you want to access the value of a grid cell, then you use the Value property of the grid cell, not the combo. The combo services the entire column, so using the value of the combo would not work.
Thank you I figured out my error. :)
Now I have truble accessing the combo box value inside the grid .
If I tried to access it in the conventional way by combo.Value it is erroring out.
Is there any special way to access it?
Hi,
Well, that error message is a syntax error in your code and since you didn't provide the code, I can't tell you what's wrong with it.
I figured out how to do that. Now I am trying to filter one of the boxes by the other. I was using cell change event and the event fires in the required time but it gives me the error
The event 'System.Windows.Forms.Control.Layout' can only appear on the left hand side of += or -=