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

Icons



The Breadcrumb allows configuring the icons of the items and the delimiters. The built-in icons that can be used with the component are listed on the Kendo UI Web Font Icons page.

To include a desired icon from the list it is enough to set its name to the respective icon property - RootIcon, DelimiterIcon of RadBreadcrumb, or Icon of each BreadcrumbItem.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
<%@ Page CodeFile="DefaultCS.aspx.cs" Language="c#" AutoEventWireup="true" Inherits="Telerik.Web.Examples.Breadcrumb.Icons.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="RadBreadcrumb2" RootIcon="globe" DelimiterIcon="line">
                <Items>
                    <telerik:BreadcrumbItem Type="RootItem" ShowText="true" Text="All Components" />
                    <telerik:BreadcrumbItem Text="RadBreadcrumb" ShowIcon="true" Icon="gear" />
                    <telerik:BreadcrumbItem Text="Icons" ShowIcon="true" Icon="cloud" />
                </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