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

enable/disable ContextMenu

Asked by Torben K.
16 years ago.

Hi again,

I want to disable the ContextMenu in some resources but not in everyone. Is it possible to enable the ContextMenu only for special resources?

Comment posted by Dan Letecky
16 years ago.
Yes, it's possible using BeforeEventRender event handler. Detect the resource using e.ColumnId and set e.EventRightClickEnabled to false for the resources where you want to turn the context menu off.
Comment posted by Torben K.
16 years ago.
Thanks
Comment posted by Torben K.
16 years ago.

Sorry butI've another problem.Your solutionworks with the "normal" Context Menu.But how can i disable the ContextMenufor aslelected a timerange?

Thank you

Comment posted by Dan Letecky
16 years ago.
Unfortunately, that's not possible at the moment.
This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.