<%@ 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 runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
    
   
    
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager runat="server" ID="ScriptManager1">
        </asp:ScriptManager>
        <br />
        <br />

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

        <telerik:RadGrid PageSize="5" ID="RadGrid1" runat="server" DataSourceID="AccessDataSource1"
            AllowSorting="True" OnItemDataBound="RadGrid1_ItemDataBound"
            GridLines="None">
            <HeaderContextMenu EnableTheming="True">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </HeaderContextMenu>
            <FilterMenu EnableTheming="True">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </FilterMenu>
            <MasterTableView EditMode="InPlace" AllowMultiColumnSorting="True" AutoGenerateColumns="False"
                DataKeyNames="OrderID" DataSourceID="AccessDataSource1">
                
                <SortExpressions>
                <telerik:GridSortExpression FieldName="OrderID" SortOrder="Ascending" />
                </SortExpressions>
                
                <Columns>
                    <telerik:GridEditCommandColumn>
                    </telerik:GridEditCommandColumn>
                    <telerik:GridBoundColumn DataField="OrderID" DataType="System.Int32" HeaderText="OrderID"
                        ReadOnly="True" SortExpression="OrderID" UniqueName="OrderID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="CustomerID" HeaderText="CustomerID" SortExpression="CustomerID"
                        UniqueName="CustomerID">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="EmployeeID" DataType="System.Int32" HeaderText="EmployeeID"
                        SortExpression="EmployeeID" UniqueName="EmployeeID">
                    </telerik:GridBoundColumn>
                    <telerik:GridNumericColumn DataField="Freight" UniqueName="numeric">
                    </telerik:GridNumericColumn>
                 
                </Columns>
            </MasterTableView>
            <ClientSettings>
            </ClientSettings>
            <SortingSettings SortedBackColor="Aqua" />
        </telerik:RadGrid>
      
        <asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Nwind.mdb"
            SelectCommand="SELECT TOP 10 [OrderID], [CustomerID], [EmployeeID], [Freight] FROM [Orders]">
        </asp:AccessDataSource>
    </form>
</body>
</html>
