This is a migrated thread and some comments may be shown as answers.

Hide the context menu in OnClientAppointmentContextMenu

1 Answer 177 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
DENTAL NETWORK
Top achievements
Rank 1
DENTAL NETWORK asked on 13 Feb 2015, 08:20 PM
Hi, I'm trying to hide the context menu in the OnClientAppointmentContextMenu event , but i don't find the way to get that. I have found only the way of hide the menu items and disabled the context menu . If you know how hide and show the context menu , please help me with the solution.
Thanks in advanced

sender.get_appointmentContextMenus()[0].set_enabled(false);  //THIS CODE DISABLED THE MENUCONTEXT

var items = sender.get_appointmentContextMenus()[0].get_items(); //THIS CODE HIDE A MENU ITEM
items.getItem(0).hide();

How can I hide the contextmenu????

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 18 Feb 2015, 12:22 PM

Hello,

You can use the following css style rule, in order to hide the context menu :

 

<style type="text/css">
        .rmActive {
            visibility: hidden !important;
        }
    </style>


Regards,
Author nickname
Telerik

 

 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Scheduler
Asked by
DENTAL NETWORK
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or