I am trying to add a row to my UltraCombo programmatically and I get an exception
I have read about the other issues people have add when not having the allownewrow setting set to True, but that has not helped me. I am not sure if it is the underlying datasource based on the exception.
Here is my code for adding the row:
band0.Override.AllowAddNew = AllowAddNew.Yes; UltraGridRow urow = band0.AddNew();
Here is my exception:
System.NotSupportedException was unhandled by user code Message="Update method not supported" Source="Infragistics2.Win.UltraWinGrid.v8.1" InnerException:
I don't think that this is actually supported for the UltraCombo; looking at the code it seems that when you do this there is a specific check to make sure that it is an UltraGrid (and not an UltraGridBase-derived object, such as the combo). You should probably add the new row to the underlying data source instead.
-Matt