Skip to main content

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.v22.2.dll

NuGet Package: DevExpress.Win.Scheduler

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.

See Also