Only open programatically (not gestures)

4 posts, 0 answers
  1. selom
    selom avatar
    12 posts
    Member since:
    Nov 2010

    Posted 24 May 2013 Link to this post

    Is there a way to only only the menu programatically? I only want to use it to show hints rather than through user action
  2. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 27 May 2013 Link to this post

    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.
  3. DevCraft banner
  4. selom
    selom avatar
    12 posts
    Member since:
    Nov 2010

    Posted 27 May 2013 Link to this post

    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.
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 30 May 2013 Link to this post

    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.
Back to Top
DevCraft banner