Re: 1.1 to 2.0, call to DataSet.Clear is causing controls to refresh
Greg Robinson <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
Resolved, call SuspendBinding on each CurrencyManager prior to the Clear and then ResumeBinding after the Clear. Greg Robinson Custom Data Systems, Inc. www.cds-am.net -----Original Message----- From: Discussion forum for developers using Windows Forms to build apps and controls [mailto:[email protected]]On Behalf Of Greg Robinson Sent: Monday, May 07, 2007 3:22 PM To: [email protected] Subject: [DOTNET-WINFORMS] 1.1 to 2.0, call to DataSet.Clear is causing controls to refresh A call to DataSet.Clear in 2.0 causes all of the data bound controls to flicker\refresh what looks like hundreds of times. Our guess is each control flickers\refreshes for each field in the DataRow as the currency manager changed\push events are firing. Any idea how to block\prevent this?