how to avoid creating duplicate appointments in radscheduler

Posted by Community Admin on 03-Aug-2018 13:28

how to avoid creating duplicate appointments in radscheduler

All Replies

Posted by Community Admin on 25-Oct-2010 00:00

hi!


    how to avoid duplicate appointments in radscheduler..can anyone help me...thanks

Posted by Community Admin on 25-Oct-2010 00:00

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;
   

you could also subscribe for the client event

function OnClientAppointmentInserting(sender, eventArgs)
 
    var now = new Date();
    if (eventArgs.get_startTime() < now)
        eventArgs.set_cancel(true);
 


Regards,
Ivan Dimitrov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed