Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
14915 | Jun 8,2004 01:34 PM UTC | Jun 9,2004 01:29 PM UTC | WinForms | 13 |
![]() |
Tags: GridControl |
this.grid.BeginUpdate();
this.gridPanel.Controls.Add(this.grid);
this.grid.ResetVolatileData();
this.grid.Update();
the code should have been:
this.grid.BeginUpdate();
this.gridPanel.Controls.Add(this.grid);
this.grid.ResetVolatileData();
this.grid.EndUpdate(); //changed....
As far as the memory usage goes, for the GriddataBoundGrid, right-click the textbox that is logging the and do a SelectAll and Delete to clear this between Load clicks. I think doing this will stabalize that memory number after teh 3rd click. It will fluctuate up and down, but should not grow without decreaing as garbage collection is done.
In the GridGroupingGrid, there was a leak in the 2.0.5.0. Some improvements to this problem were made in 2.0.5.1 public patch, and even more improvement in a 2.0.5.36 private patch. What version are you using? If you want to try the private patch, submit a Direct Trac support incident requesting it. But you should also try clicking the load button 5 or 6 times to make sure the memory is still growing at the point. This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.