How do I hide or remove 'New Recurring Appointment' from the right click menu in radscheduler for VB?

1 Answer 98 Views
Scheduler and Reminder
Dominic
Top achievements
Rank 2
Iron
Iron
Iron
Dominic asked on 06 Nov 2021, 05:40 AM

Hi,

I need to Hide or Remove 'New Recurring Appointment' option from RadScheduler. Can you show me an example of how to do this in VB?

Thanks and best regards,

Dominic

1 Answer, 1 is accepted

Sort by
0
Accepted
Dinko | Tech Support Engineer
Telerik team
answered on 08 Nov 2021, 11:08 AM

Hi Dominic,

Thank you for the provided image.

You can hide the "New Recurring Appointment" item from the context menu by subscribing to the ContextMenuOpening event and using the following code snippet:

For i As Integer = 0 To e.ContextMenu.Items.Count - 1

    If e.ContextMenu.Items(i).Text = "New Recurring Appointment" Then
        e.ContextMenu.Items(i).Visibility = Telerik.WinControls.ElementVisibility.Collapsed
    End If
Next

Regards,
Dinko
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Dominic
Top achievements
Rank 2
Iron
Iron
Iron
commented on 09 Nov 2021, 12:17 AM

It works. Thanks Dinko.
Tags
Scheduler and Reminder
Asked by
Dominic
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or