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

Remove the "New Recurring Appointment" from the right click context menu

2 Answers 116 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Chad
Top achievements
Rank 1
Chad asked on 20 Aug 2011, 03:22 PM
i have not yet implemented the recurring appointment logic in my app, and i was curious if there was a way to remove just the options int he right click context menu that refer to "Recurring" functions ?

2 Answers, 1 is accepted

Sort by
0
Accepted
Ivan Todorov
Telerik team
answered on 22 Aug 2011, 09:21 AM
Hello Chad,

Thank you for your question.

You can hide this menu item by handling the ContextMenuShowing event and setting the item's visibility as shown in the following code snippet:

void radScheduler1_ContextMenuShowing(object sender, SchedulerContextMenuShowingEventArgs e)
{
    e.ContextMenu.Items[2].Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
}

Hope this helps. Feel free to ask if you have any further questions.

Regards,
Ivan Todorov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Chad
Top achievements
Rank 1
answered on 23 Aug 2011, 06:40 AM
perfect, thank you !  never even thought of doing that, even after i did basically the same thing for the edit dialog ...
Tags
Scheduler and Reminder
Asked by
Chad
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Chad
Top achievements
Rank 1
Share this question
or