Painting of .NET DataGridView table painfully slow in one client environment

Posted on 2007-07-29
Last Modified: 2008-01-09
I have a .NET 2.0 application geared towards a specific number of clients for CRM purposes. On one section of the program, for my clients' Customers and Vendors, there is tab to store up to 30 Addresses and this is displayed with the DataGridView control.

Of the 40 client environments I have using the app, this window paints as it should but on one of my client environments with three workstations on the network, any time you click on the tab, the 30 rows for Addresses loads PAINFULLY slow. After it finishes loading, the table borders are all out of alignment and there is a remarkable amount of ghosting in the window on all three computers. Not only that, when you shrink the window by grabbing the lower right corner of the window, the WinForms window is forced to redraw itself and cures the ghosting/misaligned table borders.

I have uninstalled and reinstalled the .NET 2.0 framework on all client computers several times already and that had no effect on the problem. How is that the app works great on 39 other clients and not this one on a multiple workstations? Am I missing something here? Thanks
Question by:genjwatkins
    LVL 22

    Accepted Solution


    check if the hardware acceleration is fully enabled in for the graphic card (Display Properties -> Settings tab -> Advanced -> Troubleshoot tab).

    Also try setting the performance options (disabling some options) at the System Properties -> Advanced -> Settings button in the Performance section

    Author Comment

    Unfortunately, this did not work. Is there any configuration file that can be altered to speed up .NET Runtime painting for the DataGridView?

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Can I legally transfer my OEM version of Windows to another PC?  (AKA - Can I put a new systemboard in my OEM PC?) Few of us are both IT and legal experts but we all have our own views of Microsoft's licensing rules and how they apply.  There are…
    This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 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

    11 Experts available now in Live!

    Get 1:1 Help Now