<%@ 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.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
            </telerik:RadScriptManager>
            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="True" AllowPaging="True"
                    Skin="Vista" AllowFilteringByColumn="True" DataSourceID="AccessDataSource1" GridLines="None">
                    <PagerStyle AlwaysVisible="True" Mode="NextPrevAndNumeric" />
                    <MasterTableView AutoGenerateColumns="False" TableLayout="Fixed" DataSourceID="AccessDataSource1">
                        <Columns>
                            <telerik:GridBoundColumn DataField="ProductID" DataType="System.Int32" HeaderText="ProductID"
                                ReadOnly="True" SortExpression="ProductID" HeaderStyle-Width="15%" UniqueName="ProductID">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="ProductName" HeaderStyle-Width="40%" HeaderText="ProductName"
                                SortExpression="ProductName" UniqueName="ProductName">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="UnitsInStock" HeaderStyle-Width="25%" DataType="System.Int16"
                                HeaderText="UnitsInStock" SortExpression="UnitsInStock" UniqueName="UnitsInStock">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="UnitPrice" HeaderStyle-Width="20%" DataType="System.Decimal"
                                HeaderText="UnitPrice" SortExpression="UnitPrice" UniqueName="UnitPrice">
                            </telerik:GridBoundColumn>
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid><asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/App_Data/Nwind.mdb"
                    SelectCommand="SELECT [ProductID], [ProductName], [UnitsInStock], [UnitPrice] FROM [Alphabetical List of Products]">
                </asp:AccessDataSource>
            </telerik:RadAjaxPanel>
        </div>
    </form>
</body>
</html>
