Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
141922 | Jan 10,2019 02:19 PM UTC | Jan 21,2019 04:47 AM UTC | ASP.NET MVC - EJ 2 | 9 |
![]() |
Tags: Schedule |
List<AppointmentData> appData = new List<AppointmentData>();
appData.Add(new AppointmentData
{
Id = 1,
Subject = "Paris",
StartTime = new DateTime(2018, 1, 28, 10, 0, 0),
EndTime = new DateTime(2018, 1, 28, 12, 30, 0),
IsAllDay = false,
RecurrenceRule = "FREQ=DAILY;INTERVAL=1;COUNT=7",
RecurrenceException = "20180129T043000Z,20180131T043000Z"
}); |
@Html.EJS().Schedule("schedule").Width("100%").Height("650px").SelectedDate(new DateTime(2018, 4, 1)).PopupOpen("onPopupOpen").Render()
function OnPopupOpen(args): void {
if (!args.target.classList.contains("e-appointment"))
args.cancel = true;
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.