I guess you want to prevent inserting appointment for particular time slot. If so one suggestion would be attaching the
'OnClientAppointmentInserting' event cancel the event based on
condition.
JavaScript:
<script type="text/javascript">
function OnClientAppointmentInserting(sender, args) {
var dt = new Date();
dt = args.get_startTime();
// Now Check for condition
if (condition) {
args.set_cancel(true); // Cancel the event
alert("Cannot insert");
}
}
</script>
Regards,
Princy.
0
Veronica
Telerik team
answered on 03 May 2010, 01:31 PM
Hello Chandan Kumar,
Please take a look at this help topic. Here you may find information about setting special days or time slots which meet certain criteria.
Hope this helps.
Regards,
Veronica Milcheva
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.