Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Collapse]Scheduler
   [Expand]Product Information
    Getting Started
   [Expand]Fundamentals
   [Collapse]Concepts
    [Expand]Scheduler Elements
    [Expand]Appointments
    [Expand]Resources
    [Expand]Views
     Data Binding
    [Expand]Services
     Templates
     Client-Side Functionality
     Callback Commands
    [Expand]Reporting
     Time Zones
     Keyboard Shortcuts
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Data Binding

Data binding is required to display appointments within the ASPxScheduler. The visual part of the control gets the data to be displayed from its data storage, available via the ASPxScheduler.Storage property. The storage object is the ASPxSchedulerStorage class instance, located within the web control. It is not a separate component like the SchedulerStorage Component in WinFoms Scheduler.

The ASPxScheduler Storage data layer is separated into two entities - Appointments and Resources. Each entity may have its own data source - one for appointments and another for resources. The mapping mechanism is used to let the scheduler know what field in the data source corresponds to a certain property of an appointment or resource object. The mappings (ASPxAppointmentStorage.Mappings and ASPxResourceStorage.Mappings) can be specified in the page markup or within the PageLoad event. At design-time, you can use the Mappings Wizards to set up mappings.

The layered structure of the Scheduler (the data source, the scheduler storage and the scheduler control) is platform-independent, as it is a part of the Scheduler Core. The following scheme illustrates the interaction between layers.

To learn more about the Scheduler Core, review the Scheduler Structure document.

Examples of the most common data sources for the ASPxScheduler are listed in the Data Table Structure document.

To enhance performance of the control when displaying a large number of appointments, handle the ASPxScheduler.FetchAppointments event.

Expanded See Also

How would you rate this topic?​​​​​​​