Free Trial Buy Now

Data Binding - List Bound Mode

<
Today
V
>
May 19, 2013
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 
  
 

Description

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: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.