This is a migrated thread and some comments may be shown as answers.

Only open programatically (not gestures)

3 Answers 43 Views
ContextMenu
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
selom
Top achievements
Rank 1
selom asked on 25 May 2013, 01:34 AM
Is there a way to only only the menu programatically? I only want to use it to show hints rather than through user action

3 Answers, 1 is accepted

Sort by
0
Victor
Telerik team
answered on 27 May 2013, 11:11 AM
Hi Selom,

You can set the IsOpen property of RadContextMenu to true. You can control the position of the context menu on screen with the RegionOfInterest property as described here.

Regards,
Victor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
selom
Top achievements
Rank 1
answered on 27 May 2013, 12:48 PM
I think you misunderstood my question.

I don't want the user to interact with the tooltip, either by tapping or holding on the control (or area where the tooltip is). The opengesture property controls this. I was asking if there was a third option or a way to disable the user interaction completely so the only time the tooltip gets shown is when I set the "isOpen" property.
0
Victor
Telerik team
answered on 30 May 2013, 01:40 PM
Hello selom,

You can disable the open gesture by not associating your context menu with any particular element. Instead you can create and open it through C# and set the RegionOfInterest property to control where the menu is opened.

Regards,
Victor
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
ContextMenu
Asked by
selom
Top achievements
Rank 1
Answers by
Victor
Telerik team
selom
Top achievements
Rank 1
Share this question
or