Hi,
In Telerik Rad Scheduler, when a users wants to schedule an appointment, he is allowed to do only once. He has to be disabled from entering again. He can re-schedule again after deleting the first one.
I used the code :
function OnClientAppointmentInserting(sender, agrs) {
if (sender.get_appointments().get_count() >= 1)
{
agrs.set_cancel(true);
alert("Sorry..!Only One appointment is allowed. To Re-Schedule, delete ur first appointment and Schedule again");
}
}
But, if another user logs into the scheduler, he too is unable to add if there is one schedule already present and his clicks are disabled.
I want this method to be applied separately for each user. It means one user one click on scheduler. Another user one clcik on scheduler irrespective of other schedules present.
In Telerik Rad Scheduler, when a users wants to schedule an appointment, he is allowed to do only once. He has to be disabled from entering again. He can re-schedule again after deleting the first one.
I used the code :
function OnClientAppointmentInserting(sender, agrs) {
if (sender.get_appointments().get_count() >= 1)
{
agrs.set_cancel(true);
alert("Sorry..!Only One appointment is allowed. To Re-Schedule, delete ur first appointment and Schedule again");
}
}
But, if another user logs into the scheduler, he too is unable to add if there is one schedule already present and his clicks are disabled.
I want this method to be applied separately for each user. It means one user one click on scheduler. Another user one clcik on scheduler irrespective of other schedules present.