• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

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

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
1 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
genjwatkinsAuthor Commented:
Unfortunately, this did not work. Is there any configuration file that can be altered to speed up .NET Runtime painting for the DataGridView?

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now