Hi,
In our application a user recently noted that when you 'maximise' the screen on a large resolution (1680 * 1050), many of our controls (all of which are Infragistics NetAdvantage 2006 Vol 1) do not re-draw, leading to large 'empty' spaces where you can see the applications behind.
What is the fix for this? In other applications we have noted that (bizarrely) this problem seems to go away when you change column ordering so that the last column of any grid onscreen does not contain a checkbox but is there another workaround? I have screenshots prepared if you can provide me with a way of getting them to you.
Thanks,
Tom (Codify Ltd)
OK, cheers Mike, will do!
Tom
Hi Tom,
It looks to me like the areas that are not painting are toolbars, dockmanager, and statusbar. And you say this only happens if there's a grid with a checkbox column? That's really odd. I'm afraid I have no explanation for that.
Your best bet is to try to duplicate this in a small sample project and Submit an incident to Infragistics Developer Support. If they can duplicate the problem, they should be able to get it corrected.
Hi Mike, sorry for the delay since I last posted, I've finally found somewhere to host the images for this. We aren't calling any methods on the grid, we have simply set it's size to 'fill' the available space and so it automatically resizes (and re-draws) on maximise/restore.
This is what the screen looks like normally:
However, on higher resolutions, when maximising the screen, you get screenshots like this (the screenshot on its own is very confusing and hard to see what should be there and waht shouldn't, so I've shaded in red the areas that haven't been re-drawn and so show outlook in the background):
On my own display (which can;t handle such a large resolution but is spread across 2 monitors), I can reproduce the problem on 'restore'ing (i.e. going from full-screen on one monitor to a higher resolution across both), so I believe this is a general re-drawing issue. As I said, it only affects screens with an ultragrid in which the last column is a checkbox, as if it gets mid-way through re-drawing the control tree and crashes. As soon as the user clicks anywhere inside the screen/moves the window etc. it re-draws correctly, but we'd prefer it to never do this in the first place!
cheers,
I am not aware of any such problems in the grid. The size of the desktop should not make any difference. Are you sure something in your code is not doing this? Maybe you are calling BeginUpdate on the grid and the EndUpdate is not getting called?