Position of Right-Click (ContextMenu)?

2 posts, 0 answers
  1. Wolfgang Kamir
    Wolfgang Kamir avatar
    80 posts
    Member since:
    Jul 2006

    Posted 08 Jul 2009 Link to this post

    Hi all,

    is there an easy way to find out where on the context-menu's opening-element the user has right-clicked? Or do i have to attach a javascript-handler for that?

    This would be helpful as i use the Context-Menu for a Map-Control that I've written - and this way I could get latitude/longitude of where the user opened the Context-Menu...

    Kind regards,
  2. Valeri Hristov
    Valeri Hristov avatar
    2252 posts

    Posted 09 Jul 2009 Link to this post

    Hello Wolfgang,

    Since Q2 2009, RadContextMenu has a property named MousePosition that holds the absolute mouse coordinates from the moment the menu was opened. I guess that it is the property you need.

    Sincerely yours,
    Valeri Hristov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top