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

Can't use hotkeys defined for page

2 Answers 78 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Javier
Top achievements
Rank 1
Javier asked on 16 May 2012, 07:06 PM
I'm using javascript on the page to handle keypresses to use as hotkeys.  So if F8 is pressed the order details page pops up.

However, if the cursor is inside of the radeditor, none of the hotkeys work at all.

Is there anyway to work around this?

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 19 May 2012, 09:49 AM
Hello,

The content area of RadEditor is by default rendered as an iframe element (ContentAreaMode="iframe"), which is another document which capture the events of the parent page. If you set the ContentAreaMode property to DIV, the content area will be rendered as a DIV and you should not experience this behavior. You can find more information about the DIV area mode in this live demo: ContentAreaMode='Div' property.

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Javier
Top achievements
Rank 1
answered on 21 May 2012, 12:41 PM
Thanks for the tip, that's very useful
Tags
Editor
Asked by
Javier
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Javier
Top achievements
Rank 1
Share this question
or