Solved

Datagridview ghosting back ground

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SLMGR Switches Are Not Working On KMS Host 3 67
Round up to 100% in .NET 10 84
vb.net 2 37
Pagebreak issue while printing the aspx page 3 14
I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

911 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

20 Experts available now in Live!

Get 1:1 Help Now