Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
22186 | Dec 6,2004 03:58 PM UTC | Dec 8,2004 04:53 PM UTC | WinForms | 10 |
![]() |
Tags: GridControl |
Private Sub model_QueryCellInfo(ByVal sender As Object, ByVal e As GridQueryCellInfoEventArgs)
If Me.GridDataBoundGrid1.InvokeRequired Then
MessageBox.Show("Wrong Thread")
End If
End Sub
grid.DataSource = new DataView(dt);
to be sure the CurrencyManager would be set on this UI thread. That seemed to fix this problem with our GridDataBoundGrid in your sample.
It did not completely fix the problem in the DataGrid. The program gets further with the DataGrid, but locks up when it starts to draw. Our grid has special code to make sure the drawing gets done on the proper thread. The DataGrid does not have this code. 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.