Solved

Datagridview ghosting back ground

Posted on 2012-03-28
2
343 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

733 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