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

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!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">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadScriptBlock ID="ScriptBlock1" runat="server">

        <script type="text/javascript">
            
        </script>

    </telerik:RadScriptBlock>
    <telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="None">
        <HeaderContextMenu EnableAutoScroll="True">
        </HeaderContextMenu>
        <MasterTableView CommandItemDisplay="Top" AutoGenerateColumns="False" AllowFilteringByColumn="true"
            AllowSorting="true" AllowPaging="true" DataKeyNames="EmployeeID" DataSourceID="SqlDataSource1">
            <Columns>
                <telerik:GridBoundColumn DataField="EmployeeID" DataType="System.Int32" DefaultInsertValue=""
                    HeaderText="EmployeeID" ReadOnly="True" SortExpression="EmployeeID" UniqueName="EmployeeID">
                </telerik:GridBoundColumn>
                <telerik:GridDateTimeColumn DataField="HireDate" 
                    DataType="System.DateTime" DefaultInsertValue="" HeaderText="HireDate" SortExpression="HireDate"
                    UniqueName="HireDate">
                </telerik:GridDateTimeColumn>
            </Columns>
            <EditFormSettings>
                <EditColumn UniqueName="EditCommandColumn1">
                </EditColumn>
            </EditFormSettings>
        </MasterTableView>
    </telerik:RadGrid>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
        SelectCommand="SELECT EmployeeID, HireDate  FROM [Employees]">
    </asp:SqlDataSource>
    </form>
</body>
</html>
