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

SchedulerStorageBase.EnableSmartFetch Property

Gets or sets whether certain internal criteria for raising the SchedulerStorageBase.FetchAppointments event are applied to reduce the number of data requests.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v18.2.Core.dll

Declaration

[DefaultValue(true)]
public bool EnableSmartFetch { get; set; }

Property Value

Type Default Description
Boolean **true**

True, to use more restrictive internal criteria for determining whether to raise the FetchAppointments event; otherwise, false.

Remarks

More restrictive criteria for raising the SchedulerStorageBase.FetchAppointments event are introduced in v15.2 by default. The SchedulerStorageBase.FetchAppointments event occurs when the visible interval or resource collection is changed, or when the SchedulerControl.RefreshData method is called. However the event is not raised when appointments are being inserted/deleted/modified.

This change may break the previously designed application behavior . If you experience situations where an expected FetchAppointments event does not occur, set the SchedulerStorageBase.EnableSmartFetch property to false to revert to the former mechanism of raising the event.

Implements

See Also