?
Solved

Datagridview ghosting back ground

Posted on 2012-03-28
2
Medium Priority
?
345 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

771 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