Remove "Silverlight" menu on right click on RadPane/RadDocumentPane of UNPIN/AUTOHIDE state.

2 posts, 0 answers
  1. Karthikeyan
    Karthikeyan avatar
    27 posts
    Member since:
    Aug 2011

    Posted 21 Dec 2011 Link to this post


    I'm using RadPane, with auto hide functionality.
    In through out our application we disabled the "Silverlight" menu on the Right click.
    But while expanding the unpin Pane, if I do Right Click the "Silverlight" menu is appearing.
    Please guide/ give me some sample to disable it.

    Karthikeyan Manickam.
  2. Konstantina
    Konstantina avatar
    2332 posts

    Posted 22 Dec 2011 Link to this post

    Hi Karthikeyan,

    In order to suppress the default "Silverlight" context menu you need to hook to the MouseRightButtonDown event of the content of the RadPane. If there isn't any, just put an empty Grid and subscribe to its event and cancel it. This is for the unpinned panes, which are in the AutoHideArea. I suppose you have already done this for the whole page or Docking control. Just keep in mind that this will suppress also if you put a custom ContextMenu.

    Hope this helps.

    Kind regards,
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft R3 2016 release webinar banner
Back to Top