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

Disable the Context menu from radspineditor

2 Answers 79 Views
SpinEditor
This is a migrated thread and some comments may be shown as answers.
iyappan
Top achievements
Rank 1
iyappan asked on 23 May 2019, 10:49 AM

Hi,    

       I need to disable the right click  Context Menu  for RadSpinEditor. I tried a lot but could not able to disable it.. Can someone anyone help for this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 23 May 2019, 11:07 AM
Hello, Iyappan,     

RadSpinEditor internally hosts the standard MS TextBox. The context menu comes from the hosted TextBox. If you need to disable it, it is just necessary to use the following code snippet:

this.radSpinEditor1.SpinElement.TextBoxItem.TextBoxControl.ContextMenu = new ContextMenu();

I hope this information helps.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
iyappan
Top achievements
Rank 1
answered on 23 May 2019, 01:14 PM
Thanks for the quick reply. Yes its resolved
Tags
SpinEditor
Asked by
iyappan
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
iyappan
Top achievements
Rank 1
Share this question
or