ImageEditor - Keyboard Support

  • Save Image
  • Print Image
  • Undo
  • Redo
  • Reset Changes
  • Crop
  • Rotate Right by 90 deg
  • Rotate Left by 90 deg
  • Flip Vertically
  • Flip Horizontally
  • Zoom In
  • Zoom Out
Zoom:100%Size:0x0pxPos.:(-,-)Last Action:None
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

Press Alt + AccessKey in IE / Chrome, Alt + Shift + AccessKey in FireFox, Shift + Esc + AccessKey in Opera, or use Tab to move to and focus the control.

Note: By default tab-access is disabled in Safari. To enable it, check "Preferences > Advanced > Press tab to highlight each item on the page".


  • Alt + I focuses the control. (I is the AccessKey)

Note: The focus must be on the control in order to execute a command using its shortcut.

  • F10 - focuses the Toolbar

RadImageEditor has assigned the the following built-in shortcuts

  • Tab - navigate through toolbar buttons after it is focused
  • Esc - closes the currently focused dialog window
  • Ctrl + Z - Undo the last modification
  • Ctrl + Y - Redo the previous returned modification

Also, RadImageEditor offers the posibility to assign custom shortcuts or modify the existing one by setting the ShortCut property to the tool declaration, or using addShortCut(), removeShortCut() and setShortCut() client-side methods.

In this demo we have assigned custom keyboard shortcuts for the following commands:

  • Ctrl + P - Print
  • Ctrl + S - Save
  • Ctrl + LeftArrow - RotateLeft
  • Ctrl + RightArrow - RotateRight

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • scripts.js
<%@ Page Language="C#" Inherits="Telerik.Web.Examples.ImageEditor.KeyboardSupport.DefaultCS"CodeFile="DefaultCS.aspx.cs"  %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="../../common/styles.css" rel="stylesheet" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <script src="scripts.js" type="text/javascript"></script>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container size-medium">
        <telerik:RadImageEditor RenderMode="Lightweight" ID="RadImageEditor1" runat="server" ImageUrl="~/ImageEditor/images/hay.jpg" Width="590px" Height="430px" OnClientLoad="OnClientLoad" AccessKey="i">
                    <telerik:ImageEditorTool CommandName="Save" IsToggleButton="true"></telerik:ImageEditorTool>
                    <telerik:ImageEditorTool CommandName="Print" IsToggleButton="true"></telerik:ImageEditorTool>
                    <telerik:ImageEditorToolStrip CommandName="Undo">
                    <telerik:ImageEditorToolStrip CommandName="Redo">
                    <telerik:ImageEditorTool CommandName="Reset"></telerik:ImageEditorTool>
                    <telerik:ImageEditorTool CommandName="Crop" IsToggleButton="true"></telerik:ImageEditorTool>
                    <telerik:ImageEditorTool CommandName="RotateRight" ShortCut="Ctrl+Right"></telerik:ImageEditorTool>
                    <telerik:ImageEditorTool CommandName="RotateLeft" ShortCut="Ctrl+Left"></telerik:ImageEditorTool>
                    <telerik:ImageEditorTool CommandName="FlipVertical"></telerik:ImageEditorTool>
                    <telerik:ImageEditorTool CommandName="FlipHorizontal"></telerik:ImageEditorTool>
                    <telerik:ImageEditorTool CommandName="ZoomIn"></telerik:ImageEditorTool>
                    <telerik:ImageEditorTool CommandName="ZoomOut"></telerik:ImageEditorTool>

Find Assistance

Help Us Improve

Was this example helpful?