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

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

1 Answer 50 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Karthikeyan
Top achievements
Rank 1
Karthikeyan asked on 22 Dec 2011, 03:08 AM
Hi,

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.

Thanks,
Karthikeyan Manickam.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 22 Dec 2011, 04:20 PM
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,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
Docking
Asked by
Karthikeyan
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or