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

Hide ContextMenu item based on logged user

Asked by Catalin
1 year ago.

My need is to hide a menuitem that is a action like "new order here" when the user logged doesn't have the rights.
I need it on timerangeselection right click and not on event.
How can I achive this?
Or are there any methods to assign different contextmenus for each user when rightclicking the timerange?

Answer posted by Dan Letecky [DayPilot]
1 year ago.

You can define the context menu items dynamically in code behind in ASP.NET - use the Items property of the DayPilotMenu object.

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