DropDownTree - Keyboard Support

  • All
    • Products
    • Consulting
    • Purchase
    • Support
    • Community
    • Company
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

Keyboard support

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.

RadDropDownTree is fully navigable using the keyboard. You can navigate to a RadDropDownTree 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 the letter typed inside the TextBox, meaning the RadDropDownTree should receive focus when users press Alt + The letter typed inside the TextBox(Alt + Shift + The letter typed inside the TextBox for FF) .

Once the RadDropDownTree is focused, you can open the dropdown using Alt + DownArrow. Alt + UpArrow closes the dropdown. To navigate to the filter and the embedded tree, you can use the Tab.


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

Dropdown keyboard support

  • Press Alt + DownArrow / UpArrow (Shift +Alt + DownArrow / UpArrow) to open/close the drop-down.
  • After the dropdown is opened you can also use the Esc to close it.
  • Use the Tab 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 as it is done and described in this RadTreeView demo.
  • Press Space to select a node.
  • Press Enter to select a node and close the dropdown.

Related Resources

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page AutoEventWireup="false" CodeFile="DefaultCS.aspx.cs" Inherits="DropDownTree.Examples.Functionality.KeyboardSupport.DefaultCS"Language="c#"  %>

<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <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" />
    <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server"></asp:SiteMapDataSource>

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?