Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

List Bound Mode

<
Today
V
>
10 – October 14, 2016
  • Day
  • Work Week
  • Full Week
  • Month
  • Timeline
  • Agenda
  •  
    ...
 

This demo illustrates how to bind the Scheduler to the datasource that exposes the IBindingList interface.

The ASPxScheduler is bound to the ObjectDataSource control (which is set as an appointment data source) in the code-behind file. Data field mappings are specified in code of the Page Load event

The CustomEventDataSource is the business object with which the ObjectDataSource control is performing data operations. It generates a unique identifier for a newly inserted object, so the AutoRetrieveId property is set to true.

Appointment editing is not allowed if this demo is run online. An attempt to modify an appointment results in the error message.

See also How to bind an ASPxScheduler to custom objects at runtime (step-by-step guide).