Hi,
I encountered a problem with WinGrid 9.2.20092.2058 on Windows 7 as following:
I have a grid with some cells contain bitmap objects. Those bitmaps were bound to grid datasource using this line of code:
row["MyColumn"] = global::MyProject.Properties.Resources.Bmp1; (row is a DataRow)
This worked fine on XP, all the cells display correct images. However, on Windows 7, all the images have purple top and bottom borders (please see attached screenshot). First, I thought it was because of the image file type (gif), so I changed it to png and jpg but this issue still occured. I also searched on the forums but didn't find something useful, so I posted this to ask if anyone can provide a workaround.
Thanks.
I can't see how this could be related to the grid. The grid does not manipulate your images in any way. But I suppose it's possible that there's some error or quirk in the DotNet Framework that is working differently on some machine. I'm using Windows 7, though, and I have not have any problems like this.
Can you duplicate this problem in a small sample project so we can check it out?
Mike Saltzman"] Hi, I can't see how this could be related to the grid. The grid does not manipulate your images in any way. But I suppose it's possible that there's some error or quirk in the DotNet Framework that is working differently on some machine. I'm using Windows 7, though, and I have not have any problems like this. Can you duplicate this problem in a small sample project so we can check it out?
Hello,
Sorry for late replying, I was out for vacation. I attached a sample project to review in this post.
I have tested your sample and it works as expected under both Windows 7 and Windows XP . Should I follow any specific steps in order to reproduce this under Windows 7 (like any particular theme or any kind of special styling) ?
If you have any further questions on this matter do not hesitate to ask.
Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4
Sincerely,
Danko
Developer Support Engineer, MCTS
Infragistics
www.infragistics.com/support
Hi Danko,
I uploaded new sample project with updated code. There is an appstyling file in project folder, please place it in debug or release folder (depends on what mode you use to run the codes).
Are you able to reproduce this behavior on more than one PC?
I ran your sample on my Windows 7 machine, and here's what it looks like: