I'm trying to use the OnClientAppointmentMoveStart even to check to see if the user is allowed to move an appointment and cancel if they aren't, but I'm running into an issue. I'm also handling the OnClientAppointmentResizeStart event, which has no issues at all. As soon as the user clicks the resize handle I have an Alert pop up and inform the user to log in.
The issue I'm facing with the OnClientAppointmentMoveStart is that it does pop up the Alert just like the OnClientAppointmentResizeStart, but it keeps popping it up after the Alert is dismissed. Any ideas?
Scheduler ASP:
OnClientAppointmentMoveStart="onAppointmentMoveStart"
JScript:
function onAppointmentMoveStart(sender, args) {
if (isEditMode()) {
args.set_cancel(false);
}
else {
args.set_cancel(true);
alert("Log in for permission to rearrange the Q");
}
}
The issue I'm facing with the OnClientAppointmentMoveStart is that it does pop up the Alert just like the OnClientAppointmentResizeStart, but it keeps popping it up after the Alert is dismissed. Any ideas?
Scheduler ASP:
OnClientAppointmentMoveStart="onAppointmentMoveStart"
JScript:
function onAppointmentMoveStart(sender, args) {
if (isEditMode()) {
args.set_cancel(false);
}
else {
args.set_cancel(true);
alert("Log in for permission to rearrange the Q");
}
}