My situation:
- I have a .Net Windows application in VB.Net
- I'm upgrading from .Net Framework 1.1 to 2.0
- I'm using Infragistics NetAdvantage 2004 Volume 3
My issue:
I have an object hierarchy that looks like this, where ArrayListOfBand1Objects is my DataSource for an UltraWinGrid:
- ArrayListOfBand1Objects [ArrayList]
- [Band1Class]
- ContainerObject [ContainerClass]
- ArrayListOfBand2Objects [ArrayList]
- [Band2Class]
- ArrayListOfBand2Objects [ArrayList]
- ContainerObject [ContainerClass]
- [Band1Class]
E.g.,
ArrayListOfBand1Objects(0).ContainerObject.ArrayListOfBand2Objects(0)
When setting the ArrayListOfBand1Objects as the DataSource for the grid in .Net 1.1, the hierarchy works correctly and I get 2 bands: one for Band1Class and one for Band2Class.
When running the same code in .Net 2.0, I get a first band of Band1Class objects and a second band, but the second band is empty.
My questions:
- Is the issue the intervening ContainerObject? I.e., should the object hierarchy be set up to directly expose ArrayListOfBand2Objects as a property of Band1Class for this to work correctly? E.g., the hierarchy would look like:
ArrayListOfBand1Objects(0).ArrayListOfBand2Objects(0)
- Is there a way to set up the grid so it uses the correct ArrayList, in its current hierarchy?