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.v20.1.dll

Declaration

public virtual void RefreshData()
Public Overridable Sub 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