Hide the context menu in OnClientAppointmentContextMenu

2 posts, 0 answers
  1. DENTAL NETWORK
    DENTAL NETWORK avatar
    3 posts
    Member since:
    Feb 2014

    Posted 13 Feb 2015 Link to this post

    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????
  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 18 Feb 2015 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top