I am using radScheduler in a typical web form page with server side binding to a generic list. I use timeline view only.
In client side's "OnClientAppointmentResizeEnd" javascript event I need to change the subject of the appointment to the new duration. It will help the user to clearly see the change she did.
I am using the following code.
The above works well with web service binding and the user can see the subject of the appoinment changes to the new duration as she resizes the appointment. But this does not work (appointment subject change is not visible) with server side binding.
Any ideas apart from using AppointmentUpdate server side event?
Thanks and regards
Kushil
In client side's "OnClientAppointmentResizeEnd" javascript event I need to change the subject of the appointment to the new duration. It will help the user to clearly see the change she did.
I am using the following code.
function OnClientAppointmentResizeEnd(sender, args) {
var start = args.get_appointment().get_start();
var end = args.get_targetSlot().get_endTime();
var appDuration = Math.ceil((end.getTime() - start.getTime()) / (60000)); // show in minutes
appointment.set_subject(appDuration);
//alert(appDuration);
}
Any ideas apart from using AppointmentUpdate server side event?
Thanks and regards
Kushil