how to avoid creating duplicate appointments in radscheduler
hi!
how to avoid duplicate appointments in radscheduler..can anyone help me...thanks
Hello varalakshmi,
You can subscribe for AppointmentInsert and if there is a duplicate entry you can cancel the event
void
RadScheduler1_AppointmentInsert(
object
sender, SchedulerCancelEventArgs e)
// check for an existing item in your datasource
e.Cancel =
true
;
function
OnClientAppointmentInserting(sender, eventArgs)
var
now =
new
Date();
if
(eventArgs.get_startTime() < now)
eventArgs.set_cancel(
true
);