<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="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 id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <ajaxsettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </ajaxsettings>
    </telerik:RadAjaxManager>
    <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="AccessDataSource1" OnColumnCreated="RadGrid1_ColumnCreated"
        OnItemCreated="RadGrid1_ItemCreated" Width="500px" Height="200px" OnItemDataBound="RadGrid1_ItemDataBound">
        <mastertableview hierarchydefaultexpanded="true" hierarchyloadmode="Client" allowsorting="true"
            datakeynames="EmployeeID, ReportsTo">
            <SelfHierarchySettings ParentKeyName="ReportsTo" KeyName="EmployeeID" />
        </mastertableview>
        <clientsettings allowexpandcollapse="true">
            <Scrolling AllowScroll="True" UseStaticHeaders="True" FrozenColumnsCount="1"></Scrolling>
        </clientsettings>
    </telerik:RadGrid>
    <asp:AccessDataSource ID="AccessDataSource1" DataFile="~/App_Data/Nwind.mdb" SelectCommand="SELECT EmployeeID, LastName, FirstName, Title, ReportsTo FROM Employees"
        runat="server"></asp:AccessDataSource>
    </form>
</body>
</html>
