Hi,
Happy new year 2009 to everybody !
I'm experiencing an issue with Visual studio 2008 ans Ultracombo's datasource.
I've made a sample program to reproduce the problem.
Here's the example :
ObjectA is composed of a list of ObjectB.
If you set ObjectA as datasource of Ultracombo it will works, but now if you edit ObjectB and add a reference to ObjectA (uncomment my line) then Visual Studio will hang/freezes until you kill the process when trying to edit the combo or execute the program.
It seems that Infragistics controls doesn't like recursive calls within a datasource as it seems to add the Object B properties as columns for the UltraCombo ? (so A call B which call again A, then B, ....)
I don't know what to do as I need to be able to set A as datasource in my combo to display some of the columns and hide the others.
How doest Ultracombo datasource works ? How can i by the way add a second band in the same combo with a datasource ?
Please advice !
The following post and its accompanying thread provides information that is likely related to your issue:http://forums.infragistics.com/forums/p/13420/52976.aspx#52976
Thanks for your anwser,
Do you know if a BR has already been submitted following the post you pointed at ?
By the way, I was wondering if there was a possibility to perform this scenario in ultracombo :
Band A - 3 columns - List of items coming from a list of object of type A
Band B - 5 columns - List of items coming from a second list (not linked to first) of Object of type B
I can't see how can I achieve this ? (if even possible !)
Else my needs is to have an UltraComboEditor with possiblity to add manually items but these items should be displayed within a Grid as there's many informations to display to let the user choose the right item.Maybe an idea for a new component ?
Yannick said:Do you know if a BR has already been submitted following the post you pointed at ?
Yannick said:By the way, I was wondering if there was a possibility to perform this scenario in ultracombo : Band A - 3 columns - List of items coming from a list of object of type A Band B - 5 columns - List of items coming from a second list (not linked to first) of Object of type B I can't see how can I achieve this ? (if even possible !)
Yannick said:Else my needs is to have an UltraComboEditor with possiblity to add manually items but these items should be displayed within a Grid as there's many informations to display to let the user choose the right item.Maybe an idea for a new component ?
If you want to simulate "manually" adding items to WinCombo (as opposed to WinComboEditor), use a DataTable or a WinDataSource to which you add the items you want shown in the control.