Enable context menu for some appointments, not for all

2 posts, 0 answers
  1. Marja
    Marja avatar
    70 posts
    Member since:
    Nov 2013

    Posted 03 Sep 2015 Link to this post

    I'm using the scheduler with webservice databinding.

    Is it possible to enable the context menu for some appointments, but not for all? If so, how could that be accomplished?

  2. Plamen
    Plamen avatar
    2816 posts

    Posted 07 Sep 2015 Link to this post


    You can handle the OnClientAppointmentContextMenu event and cancel the Contextmenu showing for some of them as in the code below:
    function OnClientAppointmentContextMenu(sender, args) {
                   var cm = args.get_appointment().get_contextMenu();
                   if (args.get_appointment().get_subject()=="aaa") {
               function cancelMenuShowing(sender, args) {

    Hope this will help you solve the issue.

    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 Feedback Portal and vote to affect the priority of the items
Back to Top