search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

How to: Disable the appearance of a context menu for types of users?

Asked by mrplatypus
4 years ago.

Hi Dan and Team,

In posting: http://forums.daypilot.org/Topic.aspx/2761/how-to-disable-context-menu-item-via-coding-in-asp-net-code

The user, "Amit Prajapati", requests how to disable the context menu item via coding...
You suggest changing to a different context menu...

I would like to be able to disable the appearance of a context menu for specific types of users..

Please advise on how I can disable the appearance of a context menu for specific types of users?

Thanks

mrplatypus (aka Dave)

Answer posted by Dan Letecky [DayPilot]
4 years ago.

You can disable the context menu for selected users using BeforeEventRender event handler - by setting e.EventRightClickEnabled to false:

https://doc.daypilot.org/scheduler/event-customization/

Comment posted by mrplatypus
4 years ago.

Thanks Dan.. Resolved.

Comment posted by Dan Letecky [DayPilot]
4 years ago.

Great, thanks for the update Dave.

Comment posted by Prashanth
4 years ago.

How to disable context menu submenu items based on Appointment status in Daypilot calendar.

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.