Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Collapse]Scheduler
   [Expand]Product Information
    Getting Started
   [Expand]Fundamentals
   [Collapse]Concepts
     Adaptivity
    [Expand]Scheduler Elements
    [Expand]Appointments
    [Expand]Resources
    [Expand]Views
     Data Binding
    [Expand]Services
     Templates
     Client-Side Functionality
     Callback Commands
    [Expand]Reporting
     Time Zones
     Keyboard Shortcuts
   [Expand]Visual Elements
   [Expand]Design-Time Features
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Keyboard Shortcuts

The ASPxScheduler supports keyboard shortcuts allowing an end-user to execute a command by pressing an associated key combination. This document lists predefined keyboard shortcuts and provides information on how you can provide custom shortcuts in your web applications.

The document consists of the following sections.

Expanded Predefined Shortcuts

The Scheduler control provides a set of predefined keyboard shortcuts, which are listed in the table below.

Shortcut Command Description
Up SchedulerShortcutCommands.NavigateUp Move selection up or select anappointment above depending on the selection mode.
Down SchedulerShortcutCommands.NavigateDown Move selection down or select an appointment below depending on the selection mode.
Left SchedulerShortcutCommands.NavigateLeft Move selection left or select an appointment to the left depending on the selection mode.
Right SchedulerShortcutCommands.NavigateRight Move selection right or select an appointment to the right depending on the selection mode.
Shift + Up SchedulerShortcutCommands.ExpandSelectionUp Expand the current selection up.
Shift + Down SchedulerShortcutCommands.ExpandSelectionDown Expand the current selection down.
Shift + Left SchedulerShortcutCommands.ExpandSelectionLeft Expand the current selection left.
Shift + Right SchedulerShortcutCommands.ExpandSelectionRight Expand the current selection right.
Ctrl + Left SchedulerShortcutCommands.BackwardVisibleInterval Navigate to the previous visible interval.
Ctrl + Right SchedulerShortcutCommands.ForwardVisibleInterval Navigate to the next visible interval.
Enter SchedulerShortcutCommands.EditAppointment Start editing the current appointment or create a new one.
Tab SchedulerShortcutCommands.ToggleSelection Toggle between cell and appointment selection.
Ctrl+D SchedulerShortcutCommands.SwitchToDayView Switch to the Day View.
Ctrl+O SchedulerShortcutCommands.SwitchToWorkWeekView Switch to the Work Week View.
Ctrl+F SchedulerShortcutCommands.SwitchToFullWeekView Switch to the Full Week View.
Ctrl+W SchedulerShortcutCommands.SwitchToWeekView Switch to the Week View.
Ctrl+M SchedulerShortcutCommands.SwitchToMonthView Switch to the Month View.
Ctrl+T SchedulerShortcutCommands.SwitchToTimelineView Switch to the Timeline View.
Ctrl+A SchedulerShortcutCommands.SwitchToAgendaView Switch to the Agenda View.
Ctrl+C SchedulerShortcutCommands.Copy Copy the selected appointment.
Ctrl+V SchedulerShortcutCommands.Paste Paste an appointment into the current cell.
Ctrl+X SchedulerShortcutCommands.Cut Cut the selected appointment.
Delete SchedulerShortcutCommands.DeleteShortcut Delete the selected appointment.

Expanded Create Custom Shortcuts

You can define custom keyboard shortcuts using the ASPxScheduler.CustomShortcuts collection property. To create a shortcut and associate it with custom client-side logic, do the following.

  1. Add a custom shortcut to the ASPxScheduler.CustomShortcuts collection.

    At runtime, add a custom shortcut by passing a custom command name and key combination to the SchedulerCustomShortcutCollection.Add method.

  2. Handle the client-side SchedulerClientSideEvents.Shortcut event. This event fires when an end-user presses a key combination associated with any shortcut contained in the ASPxScheduler.CustomShortcuts collection.

  3. In the event handler, use the ShortcutEventArgs.commandName property to determine which shortcut has been pressed.

    The code sample below demonstrates how to provide client-side logic to a custom shortcut.

Expanded Customize Predefined Shortcuts

You can override any predefined shortcut with a custom one, which is useful if you want to assign a custom command to one of the predefined shortcuts. To override an existing shortcut, declare a custom shortcut with the same key combination.

In the code behind, you can achieve this using the SchedulerCustomShortcutCollection.Add method.

To remove an existing shortcut, override it with a custom shortcut whose SchedulerShortcut.CommandName property is set to an empty string.

Expanded See Also

How would you rate this topic?​​​​​​​