Different context menus for appointment and scheduleView

2 posts, 0 answers
  1. RSquired
    RSquired avatar
    12 posts
    Member since:
    Apr 2012

    Posted 20 Apr 2015 Link to this post

    I want to have two context menus . one when right click on an appointment (have options such as view , copy), and  second when right click on scheduleView \(have option paste..ect)  .

    currently I have added             

    <telerik:RadScheduleView>    
       <telerik:RadContextMenu.ContextMenu>
             <telerik:RadContextMenu>
                   ...
             </telerik:RadContextMenu>
       </telerik:RadContextMenu.ContextMenu>
    </telerik:RadScheduleView>

     

    Where i cannot achieve 2 diffrerent contextmenus. How can I achieve that?

    Thanlk you in advance

  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 22 Apr 2015 Link to this post

    Hi,

    What I can suggest you would be to check the following example from our Silverlight online demos:
    http://demos.telerik.com/silverlight/#ScheduleView/ContextMenu

    I demonstrates how to implement a ContextMenu and disable the not needed items.

    You can also check the following example, that demonstrates how to change the MenuItems collection at run time depending on the clicked element (RadGridView is used for the example):
    https://github.com/telerik/xaml-sdk/tree/master/ContextMenu/RadContextMenuForRadGridView

    Hope this helps.

    Regards,
    Kalin
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. DevCraft banner
Back to Top