How to find out is there opened context menu on the page

2 posts, 0 answers
  1. Alexey
    Alexey avatar
    21 posts
    Member since:
    Aug 2013

    Posted 15 Jan 2015 Link to this post

    Is there any way to get current opened context menu?
    I have main page with several lists with different context menus. Also main page overrides OnBackKeyPress() method to show exit confirmation dialog. Inside OnBackKeyPress() I want to get current opened context menu. If there is no any opened context menu then I want to show exit confirmation.
  2. Ves
    Ves avatar
    2869 posts

    Posted 20 Jan 2015 Link to this post

    Hi Alexey,

    You can take advantage of the Opened and Closed events of RadContextMenu for this purpose. You can avoid wiring these events for all the menus in the page if you implement the approach shown in this help topic.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft banner
Back to Top