19 lines
681 B
C#
19 lines
681 B
C#
using System.Collections;
|
|
using DevExpress.Web.ASPxScheduler;
|
|
|
|
namespace BeWoPlanerMobil.Models
|
|
{
|
|
public class DevExpressSchedulerModel : AbstractModel
|
|
{
|
|
public IEnumerable Appointments { get; set; }
|
|
public IEnumerable Resources { get; set; }
|
|
public string Type { get; set; }
|
|
}
|
|
|
|
public class CustomAppointmentTemplateContainer : AppointmentFormTemplateContainer
|
|
{
|
|
public CustomAppointmentTemplateContainer(ASPxScheduler scheduler) : base(scheduler) { }
|
|
|
|
public string CustomInfo => Appointment.CustomFields["AppointmentCustomField"] != null ? Appointment.CustomFields["AppointmentCustomField"].ToString() : "";
|
|
}
|
|
} |