Selective context menus

3 posts, 0 answers
  1. Philipp
    Philipp avatar
    17 posts
    Member since:
    Jun 2011

    Posted 11 Dec 2011 Link to this post

    Hi there
    I would like to display individual context menus based on whether the user right-clicks an appointment, and empty area, or an empty area between two appointments. What's the best way to accomplish this?

    Thanks for your advice
    Philipp
  2. Yana
    Admin
    Yana avatar
    4554 posts

    Posted 14 Dec 2011 Link to this post

    Hi Philipp,

    Have you checked ScheduleView ContextMenu example at http://demos.telerik.com/wpf/? It demonstrates how you can disable certain commands in the context menu when there is no appointment or slot selected.

    Kind regards,
    Yana
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Philipp
    Philipp avatar
    17 posts
    Member since:
    Jun 2011

    Posted 14 Dec 2011 Link to this post

    Yes, but I wanted to display different context menues - the functionality I'm offering for selected appointments is completely different than the one for an empty area. I worked aorund the issue by just setting the visibility of the menu items accordingly.
Back to Top