We have a Schedule with cells populated by appointments and custom html elements.
When these custom html elements are present in the cells, the Schedule is not able to redraw itself. So to circumvent that we remove the custom html elementens before redrawing the Schedule and reapply them once the Schedule is ready. However, we've found an case where the user resizes the browser window which causes the Schedule to fail redrawing, as the event 'scheduleResize' is never begun but only completed.
Test project attached. If you resize the window you can see that 'scheduleResize' is only called on actionComplete and not actionBegin.
function OnActionComplete(args) {
console.debug("OnActionComplete: " + args.requestType);
}
function OnActionBegin(args) {
console.debug("OnActionBegin: " + args.requestType);
}
Attachment:
Sample_e4e33a37.zip