Solved

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

Posted on 2012-03-15
5
191 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 75

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with C#, MVC, razor. 6 34
WCF Service Application cannot connect from TCP terminal 1 31
What namespace do I need to import? 2 26
Expression Evaluater 3 24
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…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 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