Hi,
I have a custom lightbox, when the user saves, I may add multiple events to the calendar for that day, so I would like to have the scheduler refresh that day. I have the following:
In my controller
m.Scheduler.Lightbox.SetExternalLightbox("Calendar/Attendance/PopupEditControl", 620, 395);
In my cshtml file
$(document).ready(function () {
scheduler.attachEvent("onAfterLightbox", function () {
alert('hi');
scheduler.updateView();
});
scheduler.attachEvent("onLightboxButton", function () {
alert('hi');
scheduler.updateView();
});
});
Question 1: Why are the events not firing? Is there a different event I should be using?
Question 2: Is there a specific function i can call to have it refresh a single day? I am using the dataprocessor and dynamic loading.
Thanks
Mike