Dear Infragistics Community,
I have a form with a grid and a group box in which i have a couple of combo's.
Two of them are working perfectly but the other one is doing a strange thing:
When i select an item from the 1st combo the 2nd(which isn't working) should filter out some of the values. On my PC it's doing that just right, on another PC i tried it and it's working, but on a third PC it's not working for any selection i make in the 1st combo, and even if i don't make a selection, on the third PC it shows me nothing.
I checked the database and that is not an issue, the code is the same on all 3 computers, it's a working, built application.
It's a weird issue and for 3 days i've been digging and still nothing. I even tried to make more room in the group box for it, but no resolution so far.
Further info: the 3 computers are running win XP with different SP's, it's Infragistics 9.1, none of the other combo's cause this problem on any other form, all 3 computers are x86 Intel processors, i am using Visual Studio 2005 with C#, the data is loaded with DataBinding.
Please help!!! give me ideas, any ideas, as ludicrous as they may be!!!
Well, some of the obvious things to check are:
1) Are all three machines using the same version of the Infragistics assemblies? Maybe the 3rd machine already had the Infragistics assemblies installed and your installer didn't install the new versions.
2) Is it possible that the machine in question is unable to access the data for some reason? You might want to check the DataSource that the grid is bound to and see if it actually has any rows or columns.
It might help to know if the combo actually drops down or not. If it does drop down, does it show columns column headers? If so, does it show no rows or empty rows?
What if you bind some other control, like an inbox ComboBox control to the same data? Does it show the data or not? If it does, then the problem lies with the UltraCombo. If it does not, then the problem lies with the data or the retrieval of that data.
1. all machines are running the same assembly of Infragistics v9.1, the installer is not a problem as the application itself does not use an installer, but a more complex way of doing copy-paste(if this would have been the issue none of the other infragistics controls would have worked)
2. it's not a grid it's a simple combo box from infragistics controls but made to look like a combo box from win forms(single column with some text and "behind the scenes" a value for each)
The data itself is okay, but i did a kind of debugging and i found out that when the user selects a value from the 1st combo by doing combo.SelectedRow.Cells[0].Text i get the value "False" even thou the pair text-value with which i load the combo is x-x/y-y/z-z none being a bool value.
so by my understanding somehow the infragistics control loads another column in the combo, but only on that particular PC.
I cannot figure out why, i hope you can, but is there any fix for this? i can figure out a "work-around" but that would eventually have to be fixed, as a "work-around" could buy me some time, but a fix would buy me "eternity"...
I appreciate the help!
I understand.
Thank you! I appreciate the help!
The default order of the columns is determined by the BindingManager in DotNet, so it's completely arbitrary unless you explicitly set the order in the grid. You can do that by handling the InitializeLayout event and setting the column.Header.VisiblePosition on each column. But you need to set it in order from left to right, otherwise the position of one column might change the position of the others.
I found out something else, i do have another column(this application wasn't made by me, but by someone else) but the weird thing is that on my computer the order of the column is good, but on the client is somehow scrambled.
It's a C# class that i'm binding to, so infragistics sees all properties and adds them to the column definitions, but the order somehow gets scrambled.
Giorgios said:The data itself is okay, but i did a kind of debugging and i found out that when the user selects a value from the 1st combo by doing combo.SelectedRow.Cells[0].Text i get the value "False" even thou the pair text-value with which i load the combo is x-x/y-y/z-z none being a bool value.
I do not understand what this means. You are getting a value false from what?
Why load the combo with duplicate values/displaytext?
If there is an extra column on the list, then it must be coming from the data source, or else your code is adding an unbound column to the combo. Did you try looking at the combo.DisplayLayout.Bands[0].Columns collection to see if that is actually the case? If it is, then you should be seeing the extra column when you drop down the combo? Do you see the column? I was under the impression that you are not getting any data, so you did not see any column headers at all.