Solved

a Red X covers my dgv after a credit card transaction.

Posted on 2012-03-15
5
189 Views
Last Modified: 2012-03-15
After I run a credit card transaction and return to the main form imagine my surprise when a big red X covers the dgv with red borders and a white background.  No dgv can be seen except for the place it is supposed to be

Any help would be appreciated.

Jerry
0
Comment
Question by:JDL129
  • 2
  • 2
5 Comments
 
LVL 74

Accepted Solution

by:
käµfm³d   👽 earned 500 total points
ID: 37726507
You are getting an exception in GDI+, most likely. Are you doing any custom painting on the DGV? If not, the problem may be internal to the DGV.
0
 
LVL 22

Expert Comment

by:p_davis
ID: 37726568
agreed....with the line of reasoning from kaufmed
how do you send/accept transactions to the dgv is it a win tool or a third party?

probably going to have to see all relevant code on this.
0
 

Author Comment

by:JDL129
ID: 37726714
Mr. Davis thanks for the response.

This is a C# control that we use to display sales choices.  We populate it using C# code.  All of this is inside a C# solution.  It looks like the form just doesn't redraw properly.  

Thanks,

Jerry
0
 
LVL 22

Expert Comment

by:p_davis
ID: 37726745
OK, time for some code then =)
0
 

Author Closing Comment

by:JDL129
ID: 37726903
kaufmed!!

You were right on!  I just replaced the  control with a new one and all my troubles went away.

Thanks for all who posted.

Jerry
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

Suggested Solutions

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

762 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