New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Change keyboard navigation commands in RadGrid with Batch editing

Description

RadGrid provides built-in keyboard navigation which can be enabled using this property:

<ClientSettings AllowKeyboardNavigation="true">
</ClientSettings>

One of these commands is the Ctrl+Q key combination, which functions as the CancelChanges shortcut.

You can check this behavior in the following live sample:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx

Solution

Some users may use these keys for entering special symbols or other specific actions. In this case you can change the built-in behavior using the dedicated keyboard settings:

<ClientSettings AllowKeyboardNavigation="true">
    <KeyboardNavigationSettings CancelChangesKey="Z" />
In this article