Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
20234 | Oct 12,2004 11:06 PM UTC | Oct 19,2004 09:06 PM UTC | WinForms | 6 |
![]() |
Tags: GridControl |
gridGroupingControlOrders.TableModel.BeginUpdate();
gridGroupingControlOrders.DataSource = null;
gridGroupingControlOrders.ResetTableDescriptor();
gridGroupingControlOrders.Engine.SetSourceList(null);
gridGroupingControlOrders.TableDescriptor.Relations.Clear();
DataView dataViewOrdersForSelectedBin = new DataView(dataSet.Orders);
gridGroupingControlOrders.DataSource = dataViewOrdersForSelectedBin;
gridGroupingControlOrders.TableModel.EndUpdate();
gridGroupingControlOrders.Refresh();
And when you execute this code the second time, the refresh takes a long time.
Are there any exceptions being thrown during this long pause? (You can check the output window, or set the debugger to break on exception). 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.