This example demonstrates how to handle the FetchAppointments event to limit the number of appointments fetched from the data source. The Scheduler Control is bound to a collection of custom objects.
Do not set the SchedulerStorage.Appointments
or SchedulerStorage.Appointments.DataSource
property in the FetchAppointments
event handler. Update the collection (add/remove items) that is assigned to the SchedulerStorage.Appointments.DataSource
property.
Read the following help topic for additional information: FetchAppointments Event - Handling Large Datasets.
- CustomObjects.cs (VB: CustomObjects.vb)
- Form1.cs (VB: Form1.vb)
(you will be redirected to DevExpress.com to submit your response)