Skip to main content
A newer version of this page is available. .

SchedulerControl.RefreshData() Method

Updates the XtraScheduler control to reflect any changes made in the data sources which store appointments and appointment resources.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v19.2.dll

Declaration

public virtual void RefreshData()

Remarks

This method calls the SchedulerStorageBase.RefreshData method to reload data from the data sources which contain appointments and appointment resources. Refer to this topic for more information.

Note

When the storage is connected to a data source and the PersistentObjectStorage<T>.AutoReload property is set to false, data is not automatically retrieved from the data source. The RefreshData method should be called manually to retrieve the data in this case.

Important

We always recommend testing the ISchedulerStateService.IsDataRefreshAllowed property before manually executing the SchedulerStorageBase.RefreshData or SchedulerControl.RefreshData methods.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RefreshData() method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also