<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager>
        <telerik:RadTreeView runat="server" ID="RadTreeView1" DataFieldID="EmployeeID" 
            DataFieldParentID="ReportsTo" DataSourceID="LinqDataSource1" 
            DataTextField="LastName">
        </telerik:RadTreeView>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
            ContextTypeName="NorthwindDataContext" 
            Select="new (EmployeeID, ReportsTo, LastName)" TableName="Employees">
        </asp:LinqDataSource>
    </div>
    </form>
</body>
</html>
