Home / Community & Support / Knowledge Base / RadControls for ASP.NET AJAX / Scheduler / Show the time slot context menu on left-click.

Show the time slot context menu on left-click.

Article Info

Rating: 4

Article information

Article relates to

 RadScheduler for ASP.NET AJAX

Created by

 Peter, Telerik

Last modified

 February 2, 2012

Last modified by

 Peter, Telerik


HOW TO

Show the time slot context menu on left-click.

DESCRIPTION

This functionality is easily achieved with the client API of RadScheduler.

SOLUTION

<script type="text/javascript">
       function OnClientTimeSlotClick(sender, args) {
 
           sender.get_timeSlotContextMenus()[0].show(args.get_domEvent());
       }
   </script>
   <telerik:RadScheduler runat="server" ID="RadScheduler1" OnClientTimeSlotClick="OnClientTimeSlotClick">
       <TimeSlotContextMenuSettings EnableDefault="true" />
   </telerik:RadScheduler>

Comments

If you'd like to comment on this KB article, please, send us a Support Ticket.
Thank you!

Please Sign In to rate this article.