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 month 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 month ago.

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

New Reply
This reply is
Your name (optional):