OrgChart - 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
Isolate this demo as a stand-alone application
  • About this demo
  • C#
  • VB

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.

  • DefaultCS.aspx
  • DefaultCS.aspx.cs
  • scripts.js
  • styles.css
<%@ Page Language="c#" CodeFile="DefaultCS.aspx.cs" AutoEventWireup="true" Inherits="OrgChart.Examples.ApplicationScenarios.FindEmployees.DefaultCS" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "">
<html xmlns=''>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <link href="styles.css" rel="stylesheet" />
    <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">
                <div class="rocBreadCrumb"></div>

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

            <telerik:RadScriptBlock runat="server">
                <script type="text/javascript" src="scripts.js"></script>
                <script type="text/javascript">
                    Sys.Application.add_load(function () {
                        window.radOrgChart = $find("<%=RadOrgChart1.ClientID%>");

Support & Learning Resources

Find Assistance

Help Us Improve

Was this example helpful?