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

Find Employees

  • Robert C. King
    Director of Marketing
    • Laura Callahan
      Brand Manager
      • Anne Dodsworth
        Marketing Executive
      • Lukas Brezina
        Marketing Executive
    • Kevin Buchanan
      Senior Graphic Designer
      • Kate Buchanan
        Graphic Designer
        • Fransis Wilson
          Junior Graphic Designer
      • Marianna Weissova
        Graphic Designer

The demo shows how to find employees in a big organizational structure with the RadSearchBox and drill down on them automatically. The breadcrumb on the left side allows you to navigate to the report chain.
Type in the search and choose one of the results to find the employee you are looking for.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • scripts.js
  • styles.css
<%@ Page Language="vb" CodeFile="DefaultVB.aspx.vb" AutoEventWireup="true" Inherits="OrgChart.Examples.ApplicationScenarios.FindEmployees.DefaultVB" %>

<%@ 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>
    <link href="styles.css" rel="stylesheet" />
</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 no-bg">
        <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel" Skin="Vista"></telerik:RadAjaxLoadingPanel>
        <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel1" EnableAJAX="true">
            <div class="search">
                <telerik:RadSearchBox RenderMode="Lightweight" runat="server" DataTextField="Name" DataValueField="HierarchicalIndex" ID="RadSearchBox1"
                    OnClientSearch="onClientSearch" Skin="Silk">
                </telerik:RadSearchBox>
                <div class="rocBreadCrumb"></div>
            </div>

            <telerik:RadOrgChart RenderMode="Lightweight" EnableDrillDown="true" Width="890px" ID="RadOrgChart1" runat="server" DataFieldID="EmployeeID" DataFieldParentID="ReportsTo"
                DataTextField="FullName" DataImageUrlField="ImageUrl" Skin="Silk">
            </telerik:RadOrgChart>

            <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                <script type="text/javascript" src="scripts.js"></script>
                <script type="text/javascript">
                    Sys.Application.add_load(function () {
                        window.radOrgChart = $find("<%=RadOrgChart1.ClientID%>");
                            demo.initialize();
                        });
                </script>
            </telerik:RadScriptBlock>
        </telerik:RadAjaxPanel>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance