Back to Devexpress

ASPxAppointmentMappingInfo.AppointmentId Property

aspnet-devexpress-dot-web-dot-aspxscheduler-dot-aspxappointmentmappinginfo.md

latest7.6 KB
Original Source

ASPxAppointmentMappingInfo.AppointmentId Property

Gets or sets the data field, to which an appointment’s unique identifier is bound.

Namespace : DevExpress.Web.ASPxScheduler

Assembly : DevExpress.Web.ASPxScheduler.v25.2.dll

NuGet Package : DevExpress.Web.Scheduler

Declaration

csharp
[DefaultValue("")]
public override string AppointmentId { get; set; }
vb
<DefaultValue("")>
Public Overrides Property AppointmentId As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value that specifies the name of the bound data field.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the AppointmentId property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

asp-net-mvc-scheduler-custom-go-to-date-dialog/CS/Scheduler.CustomizationGotoDateForm/Models/SchedulingDataClasses.cs#L153

csharp
MVCxAppointmentStorage appointmentStorage = new MVCxAppointmentStorage();
appointmentStorage.Mappings.AppointmentId = "ID";
appointmentStorage.Mappings.Start = "StartTime";

asp-net-mvc-scheduler-crud-operations/CS/MVCSchedulerEditable/Models/SchedulerStorageProvider.cs#L22

csharp
MVCxAppointmentStorage appointmentStorage = new MVCxAppointmentStorage();
appointmentStorage.Mappings.AppointmentId = "UniqueID";
appointmentStorage.Mappings.Start = "StartDate";

asp-net-mvc-scheduler-fetch-appointment-event/CS/DevExpressMvcSchedulerFetchAppointments/Models/SchedulerDataHelper.cs#L67

csharp
MVCxAppointmentStorage appointmentStorage = new MVCxAppointmentStorage();
appointmentStorage.Mappings.AppointmentId = "UniqueID";
appointmentStorage.Mappings.Start = "StartDate";

asp-net-mvc-scheduler-custom-appointment-form/CS/Models/Scheduling.cs#L74

csharp
MVCxAppointmentStorage appointmentStorage = new MVCxAppointmentStorage();
appointmentStorage.Mappings.AppointmentId = "ID";
appointmentStorage.Mappings.Start = "StartTime";

how-to-customize-the-appointment-dialog-using-view-model-api-working-with-custom-fields-t582020/CS/DevExpressMvcApplication1/Models/SchedulerDataHelper.cs#L65

csharp
appointmentStorage.AutoRetrieveId = true;
appointmentStorage.Mappings.AppointmentId = "ID";
appointmentStorage.Mappings.Start = "StartTime";

asp-net-mvc-scheduler-crud-operations/VB/MVCSchedulerEditable/Models/SchedulerStorageProvider.vb#L19

vb
Dim appointmentStorage As MVCxAppointmentStorage = New MVCxAppointmentStorage()
appointmentStorage.Mappings.AppointmentId = "UniqueID"
appointmentStorage.Mappings.Start = "StartDate"

asp-net-mvc-scheduler-fetch-appointment-event/VB/DevExpressMvcSchedulerFetchAppointments/Models/SchedulerDataHelper.vb#L61

vb
Dim appointmentStorage As New MVCxAppointmentStorage()
appointmentStorage.Mappings.AppointmentId = "UniqueID"
appointmentStorage.Mappings.Start = "StartDate"

asp-net-mvc-scheduler-custom-appointment-form/VB/Models/Scheduling.vb#L77

vb
Dim appointmentStorage As MVCxAppointmentStorage = New MVCxAppointmentStorage()
appointmentStorage.Mappings.AppointmentId = "ID"
appointmentStorage.Mappings.Start = "StartTime"

how-to-customize-the-appointment-dialog-using-view-model-api-working-with-custom-fields-t582020/VB/DevExpressMvcApplication1/Models/SchedulerDataHelper.vb#L69

vb
appointmentStorage.AutoRetrieveId = True
appointmentStorage.Mappings.AppointmentId = "ID"
appointmentStorage.Mappings.Start = "StartTime"

asp-net-mvc-scheduler-use-checkboxlist-to-filter-resources/VB/Code/SchedulerHelper.vb#L55

vb
Dim appointmentStorage As New MVCxAppointmentStorage()
appointmentStorage.Mappings.AppointmentId = "ID"
appointmentStorage.Mappings.Start = "StartTime"

See Also

GetAppointmentId(Appointment)

SetAppointmentId(Appointment, Object)

appointmentId

appointmentIds

GetAppointmentById(id)

GetSelectedAppointmentIds

ShowAppointmentFormByClientId(aptClientId)

ShowAppointmentFormByServerId(aptServerId)

ASPxAppointmentMappingInfo Class

ASPxAppointmentMappingInfo Members

DevExpress.Web.ASPxScheduler Namespace