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

Keyboard Support

  • Examples
  • Configurator
  • Quick Start
  • Help
  • Purchase
  • Demo Configurator
  • Command keyAlt

Keyboard Support

A critical requirement for software accessibility is keyboard support as a complete alternative to pointing devices (mouse, etc.).

Keyboard support is comprised of command key, focus key, and keyboard navigation. RadTabStrip will seamlessly switch between mouse and keyboard navigation.

In order to configure keyboard support with RadTabStrip its KeyboardNaviagationSettings should be set:

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" >
    <KeyboardNavigationSettings CommandKey="Alt" FocusKey="M" />

The KeyboardNavigationSettings exposes two properties to configure the keyboard combination that sets focus to the control:

  • FocusKey An upper-case letter or number.
  • CommandKey Ctrl , Alt, Shift, or any combination of two of these keys.

When there are multiple TabStrips on a given page, each of them may have a different activation combination.

In this particular example, the [CommandKey] and the [FocusKey] can be customized in the Demo Configurator.

Once the RadTabStrip has been focused (by pressing [CommandKey] + [FocusKey]) user can:

  • Navigate among RadTabs using Left and Right arrows.
  • Perform a click on the active RadTab and expand its children tabs (if any exist) by pressing Enter.
  • Navigate from parent tab to its children using Down arrow.
  • Navigate back to the parent tab using Up arrow.
  • Navigate among the children tabs using Left and Right arrows.

Note: It is recommended to avoid [CommandKey] + [FocusKey] combinations matching keyboard shortcuts used in browsers. If the combination coincides with an existing browser shortcut the control may be unable to focus.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • styles.css
<%@ Page Title="" Language="VB"  AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="TabStrip.Examples.Functionality.KeyboardSupport.DefaultVB" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />

    <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:RadTabStrip RenderMode="Lightweight" ID="RadTabStrip1" runat="server" SelectedIndex="0">
                <telerik:RadTab Text="Examples">
                <telerik:RadTab Text="Configurator">
                        <telerik:RadTab Text="Default"></telerik:RadTab>
                        <telerik:RadTab Text="Test"></telerik:RadTab>
                        <telerik:RadTab Text="Final"></telerik:RadTab>
                <telerik:RadTab Text="Quick Start">
                <telerik:RadTab Text="Help">
                        <telerik:RadTab Text="Search"></telerik:RadTab>
                        <telerik:RadTab Text="Topics"></telerik:RadTab>
                        <telerik:RadTab Text="Troubleshooting"></telerik:RadTab>
                <telerik:RadTab Text="Purchase">

    <telerik:RadAjaxManager ID="radajaxmanager1" runat="server">
            <telerik:AjaxSetting AjaxControlID="configurationpanel1">
                    <telerik:AjaxUpdatedControl ControlID="configurationpanel1" LoadingPanelID="radajaxloadingpanel1" />
                    <telerik:AjaxUpdatedControl ControlID="RadTabStrip1" />

    <telerik:RadAjaxLoadingPanel runat="server" ID="radajaxloadingpanel1" />

    <qsf:ConfiguratorPanel runat="server" ID="ConfigurationPanel1">
                <qsf:ConfiguratorColumn ID="ConfiguratorColumn1" runat="server" Size="Wide">

                    <ul class="fb-group">
                            <qsf:DropDownList runat="server" ID="DropDownListCommandKey"
                                Label="Command key" />
                            <qsf:MaskedTextBox runat="server" ID="RadMaskedTextBoxFocusKey"
                                Label="Focus key" />
                            <asp:CustomValidator ID="CustomValidator2" runat="server"
                                Text="* Please type a valid uppercase Latin letter"
                                ClientValidationFunction="validateFocusKey" />
    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
            function validateFocusKey(source, arguments) {
                var maskedTextBox = $find("<%= RadMaskedTextBoxFocusKey.ClientID %>");
                var textBoxValue = maskedTextBox.get_textBoxValue().trim();

                if (textBoxValue.length != 1) {
                    arguments.IsValid = false;

                var keyCode = textBoxValue.charCodeAt(0);

                if (keyCode < 65 || keyCode > 90) {
                    arguments.IsValid = false;
                arguments.IsValid = true;

Support & Learning Resources

Find Assistance