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

Keyboard Support



Keyboard Support

RadBreadcrumb provides built-in keyboard support and can be used as soon the control gets focused. You can focus it by iterating through the Page controls using the Tab key, alternatively, you can use a shortcut if you set the AccessKey property.

<telerik:RadBreadcrumb runat="server" ID="RadBreadcrumb1" AccessKey="W"></telerik:RadBreadcrumb>
  • Under IE and Chrome use Alt + AccessKey
  • Under Firefox use Shift + Alt + AccessKey

KEYBOARD LEGEND

Focus

  • Alt + AccessKey Focuses the Breadcrumb and turns it into edit mode.

Supported keys and user actions

  • Enter
    • When the control is focused and its Editable property is set to true, triggers edit mode.
    • When an item is focused and the Navigational property is set to true, navigates to the URL set to the respective BreadcrumbItem.
    • When the Breadcrumb is in edit mode, exits edit mode, and initiates a postback.
  • Tab
    • When the control is focused, navigates through its items.
    • When RadBreadcrumb is in edit mode, saves the changes on the client-side, and exits edit mode.
  • Esc
    • Exits edit mode without saving the changes.
  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page CodeFile="DefaultCS.aspx.cs" Language="c#" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Breadcrumb.KeyboardSupport.DefaultCS"  %>

<%@ 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" runat="server">
        <telerik:RadAjaxPanel runat="server">
            <telerik:RadBreadcrumb runat="server" ID="RadBreadcrumb1" Editable="true" AccessKey="W">
                <Items>
                    <telerik:BreadcrumbItem Type="RootItem" ShowText="true" Text="Telerik UI for ASP.NET AJAX" Href="https://demos.telerik.com/aspnet-ajax/" />
                    <telerik:BreadcrumbItem Text="Controls" ShowIcon="true" Icon="folder-open" />
                    <telerik:BreadcrumbItem Text="RadBreadcrumb" ShowIcon="true" Icon="folder-open" />
                    <telerik:BreadcrumbItem Text="Overview" Icon="star" ShowIcon="true" />
                </Items>
            </telerik:RadBreadcrumb>

            <br />
            <br />
            <telerik:RadButton ID="Button1" runat="server" Text="Refresh Breadcrumb">
                <Icon PrimaryIconCssClass="rbRefresh"></Icon>
            </telerik:RadButton>
        </telerik:RadAjaxPanel>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance