Can't use hotkeys defined for page

3 posts, 0 answers
  1. Javier
    Javier avatar
    35 posts
    Member since:
    Aug 2011

    Posted 16 May 2012 Link to this post

    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. Rumen
    Admin
    Rumen avatar
    14417 posts

    Posted 19 May 2012 Link to this post

    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.
  3. Javier
    Javier avatar
    35 posts
    Member since:
    Aug 2011

    Posted 21 May 2012 Link to this post

    Thanks for the tip, that's very useful
Back to Top