<%@ 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>
<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 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>