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

Selective context menus

2 Answers 82 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Philipp
Top achievements
Rank 1
Philipp asked on 12 Dec 2011, 02:29 AM
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 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 14 Dec 2011, 01:19 PM
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 >>

0
Philipp
Top achievements
Rank 1
answered on 15 Dec 2011, 04:15 AM
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.
Tags
ScheduleView
Asked by
Philipp
Top achievements
Rank 1
Answers by
Yana
Telerik team
Philipp
Top achievements
Rank 1
Share this question
or