Skip to main content

TdxServerModeCustomDataSource.BeginUpdate Method

Postpones sending notifications about data source changes until the matching EndUpdate method is called.

Declaration

procedure BeginUpdate;

Remarks

To improve performance and prevent the linked data-aware control’s data controller from refreshing its contents during updates to the data source’s connection or target source settings, enclose the code performing the updates within BeginUpdate/EndUpdate blocks. To cancel the last BeginUpdate method call and enable further updates, call CancelUpdate.

Ensure that every call to BeginUpdate has a corresponding call to the EndUpdate method (or to CancelUpdate).

Note

The data controller does not receive update notifications unless all EndUpdate methods are executed.

See Also