<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Transactions.aspx.cs" Inherits="Localization.Transactions"
    meta:resourcekey="PageResource1" %>

<!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">
    <div id="CultureSelector" style="position: absolute; left: 610px;">
        <asp:Label ID="SelectCultureLabel" runat="server" Text="Select Culture" meta:resourcekey="SelectCultureLabelResource" />
        <br />
        <asp:DropDownList ID="CultureSelectorDropDown" runat="server" AutoPostBack="True"
            meta:resourcekey="CultureSelectorDropDownResource1">
            <asp:ListItem Text="English / United States" Value="en-us" meta:resourcekey="ListItemResource1"></asp:ListItem>
            <asp:ListItem Text="Spanish / Mexico" Value="es-mx" meta:resourcekey="ListItemResource2"></asp:ListItem>
            <asp:ListItem Text="French" Value="fr" meta:resourcekey="ListItemResource3"></asp:ListItem>
        </asp:DropDownList>
    </div>
    <div id="TransactionPanel" style="position: absolute; top: 50px;">
        <asp:Label ID="TransactionGridLabel" runat="server" Font-Names="Arial" Font-Bold="true"
            meta:resourcekey="TransactionGridLabelResource" />
        <asp:GridView ID="TransactionsView" runat="server" AutoGenerateColumns="False" CellPadding="4"
            ForeColor="#333333" GridLines="None" Width="748px" DataSourceID="TransactionDataSource"
            meta:resourcekey="TransactionsViewResource1">
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
            <Columns>
                <asp:BoundField DataField="Name" meta:resourcekey="BoundFieldResource1" />
                <asp:BoundField HeaderText="Date" DataField="Date" DataFormatString="{0:d}" HtmlEncode="false"
                    meta:resourcekey="BoundFieldResource2" />
                <asp:BoundField HeaderText="Amount" DataField="Amount" DataFormatString="{0:c}" HtmlEncode="false"
                    meta:resourcekey="BoundFieldResource3" />
                <asp:CheckBoxField DataField="Paid" HeaderText="Paid" ReadOnly="True" meta:resourcekey="CheckBoxFieldResource1" />
            </Columns>
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
    </div>
    <asp:ObjectDataSource ID="TransactionDataSource" runat="server" SelectMethod="GetTransactions"
        TypeName="Localization.Transaction"></asp:ObjectDataSource>
    </form>
</body>
</html>
