PE
Peter
March 30, 2003 04:41 AM UTC
In additition to this I wanna refresh the data in da DataBoundGrid every time a user selects another row. In the RowEnter event I do a DataTable.Clear and then a fill from the dataadapter. After that I set the DataSource of the Grid again to the DataTable. All works fine if the default sorting is used. If the user resorts the Grid by clicking at the column header it works all too but there is a flickering in the Grid where you can see that all cells are removed and then refilled. I thought of preventing this by add a "BeginUpdate" and "EndUpdate" around the code but that doesn't help. What am I doing wrong?
PE
Peter
March 30, 2003 04:47 AM UTC
Well if you write the problems down and think about them a while you solve them at your own :-) I found out that all problems are solved with putting a "GridDataBoundGrid.Binder.SuspendBinding" and "GridDataBoundGrid.Binder.ResumeBinding" around.