Hi,
I have upgraded to v7.3 infragistics and code which previously worked (in 5.1) is no longer.
Basically I have a grid with 3 columns, the 3rd column is used to display data in both value and progress bar, I achieved this previously by associating each cell.EditorControl with a new instance of UltraProgressBar. However when the code runs, the %value's appear but the progress bar itself fails to paint on each cell.
So at run time we can add an item to the grid and its value and %value in the bar would appear.
cell.EditorControl = CreateBar();
then later when I want to update the value foreach(row/cell in the column of columns)
at this point the percent value updates but the bar fails to be displayed.
Try this....
Grid tied to simple dataset. Two UltraProgress bars, one is "modified" in the InitializeLayout handler, the other is left alone.
As it stands right now, with the column set to "transparent" the progress bar is invisible.
If you can post a small sample project demonstrating the issue, I'd be happy to take a look.
... and just to double check, i printed out the value of column.CellAppearance.ThemedElementAlpha for each of the columns that has an UltraProgressBar set in the EditorControl member and it showed as "Transparent ".
FYI, I am running:
Infragistics2.Win.UltraWinGrid.v7.3.dll - v7.3.20073.1049
Code is definitely getting hit - I've lost count of how many times I've run this through the debugger.
Nothing else I can see is overriding it. I do have an InitializeLayout event handler defined that is getting called, but I am not overriding the ThemedElementAlpha value set earlier.
I could send you that code to look at privately...
Your progress bars are probably showing using Themes. You can turn off themes for the whole grid using the UseOsThemes property.
Or, you can turn them off for just the one column by setting ThemedElementAlpha to Transparent.
You seem to already be doing that, though, so I'm not sure why it's not working. Maybe that code is not getting hit? Or maybe something else is overriding it. Are you loading a layout or a preset into the grid after this code is called?