Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Grid Freezes Sometimes

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Grid Freezes Sometimes
Link Posted: 26-Feb-2006 17:17
I am using the eval version (1.3.3.41828).  Sometimes when I clear the grid, it freezes and never comes back.  Same thing happens consistently when I resize the form and the grid resizes (using anchor features of form).  In debug, while frozen, if I press break, it goes to the line item that's clearing the grid - i.e.

      FlyGrid1.Rows.Items.Clear()

Any ideas?
Link Posted: 27-Feb-2006 03:56
Can you provide us with a sample project or full code that clearing FlyGrid?
Probably you've used FlyGrid.BeginInit but not finalize this code with FlyGrid.EndInit method, use following code construction when use BeginInit:
[c#]
flyGrid.BeginInit();
try
{
  //here is your code....
}
finally
{
  flyGrid.EndInit();
}

[VB.Net]
flyGrid.BeginInit()
Try
  ' here is your code....
Finally
  flyGrid.EndInit()
End Try