New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

OnClientTimeSlotContextMenuItemClicking

The OnClientTimeSlotContextMenuItemClicking client-side event is called when a time slotcontext menu item is clicked, before RadScheduler processes the click event.

Two parameters are passed to the event handler:

  • sender is the scheduler client object.

  • eventArgs has the following methods:

    • get_slot() - the instance of the time slot, on which the context menu was shown.

    • get_startSlot() - the instance of the first time slot in the slot selection.

    • get_endSlot() - the instance of the last time slot in the slot selection.

    • get_item() - the clicked menu item

    • set_cancel() - used to cancel the event.

This event can be cancelled.

In this article