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

Keyboard Support

  • All
    • Products
    • Consulting
    • Purchase
    • Support
    • Community
    • Company

Keyboard support

RadDropDownTree is fully navigable using the keyboard.

You can navigate to a dropdown tree instance using the Tab if you set the TabIndex property of RadDropDownTree. In addition, you can use a shortcut if you set the AccessKey property. In this particular example, the TabIndex was set to 1 (first tab stop) and AccessKey is W.

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.

Focus

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

Dropdown keyboard support

  • Press Alt + DownArrow to open the drop-down.
  • After the dropdown is opened, you can use the Esc key or the AccessKey to close it, so you can continue navigating the rest of the form.
  • Use Down Arrow to navigate to the filter and the embedded tree.
  • Once the tree is focused, use the arrow keys to navigate and expand/collapse the nodes.
  • Press Space to check/uncheck a node and keep the dropdown open.
  • While the tree is still focused, you can type to focus the first matching node.
  • Press Alt + W to focus the control again so you can access the filter textbox by pressing Down Arrow.
  • Press Enter to select a node and close the dropdown.

Related Resources

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="DropDownTree.Examples.Functionality.KeyboardSupport.DefaultVB" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container size-thin">
        <telerik:RadDropDownTree RenderMode="Lightweight" ID="RadDropDownTree1" AccessKey="W" runat="server" Width="300px" DefaultMessage="Please select" EnableFiltering="true"
            DataSourceID="SiteMapDataSource1" OnNodeDataBound="RadDropDownTree1_NodeDataBound" CheckBoxes="SingleCheck">
            <DropDownSettings Height="260px" />
        </telerik:RadDropDownTree>
    </div>
    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server"></asp:SiteMapDataSource>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance