Back to Devexpress

ASPxAppointmentMappingInfo.ResourceId Property

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

latest6.8 KB
Original Source

ASPxAppointmentMappingInfo.ResourceId Property

Gets or sets the data field to which an appointment’s Appointment.ResourceId property is bound.

Namespace : DevExpress.Web.ASPxScheduler

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

NuGet Package : DevExpress.Web.Scheduler

Declaration

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

Property Value

TypeDefaultDescription
StringString.Empty

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

|

Remarks

Use the ResourceId property to bind an appointment’s Appointment.ResourceId property to a data field.

The following code snippets (auto-collected from DevExpress Examples) contain references to the ResourceId 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#L165

csharp
appointmentStorage.Mappings.Status = "Status";
appointmentStorage.Mappings.ResourceId = "CarId";
return appointmentStorage;

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

csharp
appointmentStorage.Mappings.Status = "Status";
appointmentStorage.Mappings.ResourceId = "ResourceID";
return appointmentStorage;

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

csharp
appointmentStorage.Mappings.Status = "Status";
appointmentStorage.Mappings.ResourceId = "ResourceID";
return appointmentStorage;

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

csharp
appointmentStorage.Mappings.Status = "Status";
appointmentStorage.Mappings.ResourceId = "CarId";
appointmentStorage.CustomFieldMappings.Add("Price", "Price");

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

csharp
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo";
appointmentStorage.Mappings.ResourceId = "OwnerId";
appointmentStorage.Mappings.Status = "Status";

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

vb
appointmentStorage.Mappings.Status = "Status"
appointmentStorage.Mappings.ResourceId = "ResourceID"
Return appointmentStorage

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

vb
appointmentStorage.Mappings.Status = "Status"
appointmentStorage.Mappings.ResourceId = "ResourceID"
Return appointmentStorage

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

vb
appointmentStorage.Mappings.Status = "Status"
appointmentStorage.Mappings.ResourceId = "CarId"
appointmentStorage.CustomFieldMappings.Add("Price", "Price")

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

vb
appointmentStorage.Mappings.ReminderInfo = "ReminderInfo"
appointmentStorage.Mappings.ResourceId = "OwnerId"
appointmentStorage.Mappings.Status = "Status"

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

vb
appointmentStorage.Mappings.Status = "Status"
appointmentStorage.Mappings.ResourceId = "CarId"
Return appointmentStorage

See Also

ASPxAppointmentMappingInfo Class

ASPxAppointmentMappingInfo Members

DevExpress.Web.ASPxScheduler Namespace