[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2012-03-15
5
Medium Priority
?
200 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 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month19 days, 23 hours left to enroll

872 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