<ScheduleTemplates>
<DateHeaderTemplate>
<div class="date-text">@(GetDateHeaderText((context as TemplateContext).Date))</div>
</DateHeaderTemplate>
</ScheduleTemplates>
…
<ScheduleTimeScale>
<MajorSlotTemplate>
@{
var currTime = MajorSlotTemplate((context as TemplateContext).Date);
var nextTime = Convert.ToInt32(currTime) + 4;
<div>@(currTime + "h-" + nextTime + "h")</div>
}
</MajorSlotTemplate>
</ScheduleTimeScale>
…
<Template>
<div>@((context as AppointmentData).Subject)</div>
<div>De: @((context as AppointmentData).StartTime.ToString("hh:mm")) A: @((context as AppointmentData).EndTime.ToString("hh:mm"))</div>
</Template> |
….
<ScheduleTimeScale>
<MajorSlotTemplate>
@{
var currTime = MajorSlotTemplate((context as TemplateContext).Date);
var nextTime = Convert.ToInt32(currTime) + 4;
<div>@(currTime + "h-" + nextTime + "h")</div>
}
</MajorSlotTemplate>
</ScheduleTimeScale>
<ScheduleViews>
<ScheduleView Option="View.TimelineDay">
<ScheduleViewTimeScale Interval="240" SlotCount="1">
</ScheduleViewTimeScale>
</ScheduleView>
<ScheduleView Option="View.TimelineWeek" DateFormat="dd-MMM-yyyy" StartHour="08:00" EndHour="16:00">
<ScheduleViewTimeScale Interval="240" SlotCount="1">
</ScheduleViewTimeScale>
</ScheduleView>
<ScheduleView Option="View.TimelineMonth"></ScheduleView>
<ScheduleView Option="View.Agenda"></ScheduleView>
</ScheduleViews>
….. |