Solved

Datagridview ghosting back ground

Posted on 2012-03-28
2
341 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 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