Scheduling - Data Binding List Bound Mode

<
Today
V
>
May 23, 2014
Day
Work Week
Week
Month
Timeline
  
 
12AM 
  
100 
  
200 
  
300 
  
400 
  
500 
  
600 
  
700 
  
800 
  
900 
  
1000 
  
1100 
  
12PM 
  
100 
  
200 
  
300 
  
400 
  
500 
  
600 
  
700 
  
800 
  
900 
  
1000 
  
1100 
  
 

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).

Version: v2014 vol 1.6
Copyright © 2006-2014 Developer Express Inc
Your Next Great ASP.NET App Starts Here

Get started today and download your 30-day trial of ASP.NET Controls and Libraries (includes 30 days of free technical support).

All demos ship with full source code and are included in the DevExpress ASP.NET distribution. Refer to the Demos and Sample Applications topic to learn more.

DevExpress ASP.NET Controls and Libraries ship as part of DevExpress Universal, DXperience and ASP.NET Subscriptions and are backed by a 60 day unconditional money-back guarantee.
To learn more and obtain pricing information, visit the Compare Features and Pricing webpage. For immediate assistance, contact us by Email at info@devexpress.com or by phone at +1 (818) 844-3383 between 7:30am and 4:30pm Pacific Time.