The requested page is not available for the requested platform. You are viewing the content for Default platform.

BootstrapSchedulerBuilderBase<T>.BindAppointments(Object) Method

Binds the Scheduler's appointments to the specified appointment collection.

Namespace: DevExpress.AspNetCore.Bootstrap

Assembly: DevExpress.AspNetCore.Bootstrap.v18.2.dll


public T BindAppointments(
    object dataObject
Public Function BindAppointments(
    dataObject As Object
) As T


Name Type Description
dataObject Object

A collection of Scheduler appointments.


Type Description

A reference to this instance after the operation is completed.



Bootstrap Controls for ASP.NET Core are in maintenance mode. We don’t add new controls or develop new functionality for this product line. Our recommendation is to use the ASP.NET Core Controls suite.

$1 Pass a collection of appointment data objects to the BindAppointments method to display appointments within the Scheduler.

@model IEnumerable<ToDoTask>
    .Start(new DateTime(2018, 05, 21))
    .Storage(storage => storage
        .Appointments(appointments => appointments
            .Mappings(map => map
                .AppointmentId(a => a.Id)
                .Subject(a => a.Text)
                .Start(a => a.StartDate)
                .End(a => a.EndDate))))
    .Routes(routes => routes
        .MapRoute(r => r

Note that to be able to obtain and save appointments to/from the data storage, you also need to specify at least the following mandatory data field mappings:

You also need to define a separate route to process appointment editing:

@model IEnumerable<ToDoTask>
    .Routes(routes => routes
        .MapRoute(r => r
        .MapRoute(r => r
See Also