Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
903
Bug with DataSource in UltraCombo ?
posted

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 !

WindowsFormsApplication3.zip