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

Setting ContextMenuSelectionID

Asked by Paul
14 years ago.

I've got a requirement to show or hide the scheduler context menu based on a condition evaluated in code-behind.

If I'm setting the scheduler ContextMenuSelectionID (e.g. to show the context menu) via code-behind when using AJAX, I find I have to hit my "apply" button twice for the correct menu state to occur. E.g. if I don't want the menu displayed I'll set the ID to 'null' for ContextMenuSelectionID, but I'll need to hit apply twice for the menu to stop appearing (e.g. two refreshes). Ideas?

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