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

Disabling Keyboard Shortcuts

0 Answers 14 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
SEAN
Top achievements
Rank 1
SEAN asked on 16 Sep 2011, 12:44 AM
In the RadEditor you can disable shortcuts (see http://www.telerik.com/help/aspnet-ajax/editor-disabling-keyboard-shortcuts.html) but I have not been able to do the same in the MVC Editor. I created a handler for the OnExecute event and I checked the name property of the event argument to filter out which commands I want to allow or cancel, but I cannot figure out what to do to prevent the commands that I don't want to allow. I tried tried calling preventDefault and stopPropagating on the event argument but that does not prevent the command from running. Anyone know how to do this?

Thanks 
Sean
Tags
Editor
Asked by
SEAN
Top achievements
Rank 1
Share this question
or