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

<%@ 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 id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
    <telerik:RadGrid runat="server" dir="RTL" ID="rgAuthTypes" AllowPaging="true" DataSourceID="AccessDataSource1">
        <MasterTableView AutoGenerateColumns="False" ShowHeader="True" TableLayout="Fixed"
            ShowHeadersWhenNoRecords="True" EditMode="InPlace" CommandItemDisplay="Top">
            <PagerStyle Mode="NextPrevAndNumeric" AlwaysVisible="true" PagerTextFormat="{4} records {5}" />
            <Columns>
                <telerik:GridBoundColumn Display="true" DataField="CustomerID" HeaderText="CustomerID"
                    UniqueName="CustomerID" HeaderStyle-Width="75px" />
                <telerik:GridTemplateColumn UniqueName="City" HeaderText="City" DataField="City"
                    SortExpression="City">
                    <ItemTemplate>
                        <%#Eval("City") %>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <telerik:RadButton runat="server" ID="chkActive" ToggleType="CheckBox" ButtonType="ToggleButton" />
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
    <asp:AccessDataSource ID="AccessDataSource1" DataFile="~/App_Data/Nwind.mdb" SelectCommand="SELECT * FROM Customers"
        runat="server"></asp:AccessDataSource>
    </form>
</body>
</html>
