0
我使用Telerik radscheduler時,我移動約會,然後我想打開一個對話框,然後單擊是或否後,我想要去OnAppointmentUpdate
事件。Asp.net Telerik
function onAppointmentMoving(sender, eventArgs) {
debugger;
redgrd = sender;
eventArgs.set_cancel(true);
var appointment = eventArgs.get_appointment();
var confirmMessage = "Do you want to make this the patient's default Round?";
radconfirm(confirmMessage,
function (arg) {
debugger;
if (arg) {
//sender.updateAppointment(sender, eventArgs)
alert("ok");
}
else {
alert("Cancel");
}
})
}
我用截屏的代碼,但eventArgs.set_cancel(真)後,我無法達到OnAppointmentUpdate
事件。