Solved

Datagridview ghosting back ground

Posted on 2012-03-28
2
338 Views
Last Modified: 2012-04-19
I have an application that was written in Visual Studio 2008. In this application I am using tabcontrols that have several datagrids on different tabs for different items. I am populating the datagridview from a SQL database. Everything is working until I try to scroll the datagridview up and down or flip from one datagridview page to another. When I do this in the new datagridview I see a 'ghosted' image of the old datagridview. If I change to a tab without a datagridview then change back. The datagrid displays as expected except I am unable to scroll down or right due to the ghosting effect.

basic view 2 columns
basic view 3 columns after scrolling straight down
The first image is just a snap shot of a couple of columns from one of the datagridviews. The second image is a snapshot of three of the columns from the same table after doing nothing but using the scrollbar from the datagridview and scrolling straight down.

I am sure I am setting something wrong or have chosen a strange option somewhere in the project but I have no idea how to address this issue any assistance is greatly appreciated.
0
Comment
Question by:charon405
2 Comments
 

Author Comment

by:charon405
ID: 37791117
resolved my own issue I had created code for controlling the colors in the datagridview using settings from the settings file. I had not actually set the colors yet as soon as I set the colors this ghosting went away. The code in question follows :

code
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 37868875
Because this question has no expert participation and is over 21 days old, it would have been deleted automatically, but you have posted information yourself making this PAQ-worthy.

EE_AutoDeleter
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now