<%@ page language="C#" autoeventwireup="true" inherits="fxSelectedRecp, FaxCore.OSA40" %>

<!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>Fax Recipients</title>
    <meta name="Browser" content="NetFront" />
    <asp:Literal runat="server" ID="activeStyleSheet"></asp:Literal>
    <style type="text/css">
  .bumper
  {
  padding-left:10px;
  }
  </style>
</head>
<body>
    <form id="form1" runat="server">
           <table border="0" cellpadding="2" cellspacing="2" width="735px">
      <tr>
        <td height="35px" bgcolor="black" colspan="3" >
          <asp:Image ID="hdr1" runat="server" ImageUrl="Images/faxcorelogo_transparent.gif" />
          <asp:Label ID="Label4" runat="server" Font-Bold="True" ForeColor="White" Text="Fax Recipients"></asp:Label></td>
      </tr>
      <tr>
        <td>
          <asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text="Back" CssClass="btn_Main" CausesValidation="False" />
          </td>
        <td align="right">
          <asp:Label ID="lblSearch" runat="server" Text="Search:" Visible="false"></asp:Label>
          <asp:TextBox ID="txtSearch" runat="server" Visible="false"></asp:TextBox>
          <asp:ImageButton ID="imgSearch" runat="server" ImageUrl="Images/search_filter.gif"
            OnClick="imgSearch_Click" CausesValidation="False" Visible="false"/></td>
        <td align="right">
          <asp:Button ID="btnRemove" runat="server" Text="Remove" OnClick="btnRemove_Click" CssClass="btn_Main" /></td>
      </tr>
      <tr>
        <td colspan="3" style="height: 23px">
          <asp:GridView ID="GridView1" AllowSorting="True" runat="server" AllowPaging="True"
            AutoGenerateColumns="False" BackColor="White" BorderColor="#999999" BorderStyle="Solid"
            BorderWidth="1px" CellPadding="2" ForeColor="Black" Width="735px" EmptyDataText="No address available."
            EnableViewState="true" DataKeyNames="AddressID" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="4">
            <PagerSettings Mode="NextPrevious" />
            <FooterStyle BackColor="#CCCCCC" />
            <Columns>
              <asp:TemplateField>
                <ItemTemplate>
                  <asp:CheckBox ID="chkSelect" runat="server" />
                  <asp:CheckBox ID="chkRaw" runat="server" Visible="false" Checked='<%# Eval("IsRaw") %>' />
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" />
              </asp:TemplateField>
              <asp:BoundField DataField="RecipientName" HeaderText="Recipient Name" />
              <asp:BoundField DataField="RecipientCompany" HeaderText="Company Name" />
              <asp:BoundField DataField="RecipientFax" HeaderText="Fax Number" />
              <asp:BoundField DataField="IsRaw" HeaderText="Is Raw" InsertVisible="False" Visible="False" />
              <asp:BoundField DataField="AddressID" HeaderText="Address ID" Visible="False" />
            </Columns>
            <PagerStyle BackColor="Silver" ForeColor="Black" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
            <AlternatingRowStyle BackColor="#CCCCCC" />
            <PagerTemplate>
              <table width="100%" cellspacing="1" cellpadding="1">
                <tr>
                  <%-- <td width="15%" align="right">
                    <asp:ImageButton ID="btnPageBegin" runat="server" ImageUrl="~/Img/prevend.png"
                      CommandName="Page" CommandArgument="First" ToolTip="First" />
                  </td>--%>
                  <td width="35%" align="left">
                    <asp:ImageButton ID="btnPagePrev" runat="server" ImageUrl="Images/prev.png" CommandName="Page"
                      CommandArgument="Prev" ToolTip="Prev" />
                  </td>
                  <td width="35%" align="right">
                    <asp:ImageButton ID="btnPageNext" runat="server" ImageUrl="Images/next.png" CommandName="Page"
                      CommandArgument="Next" ToolTip="Next" />
                  </td>
                  <%--  <td width="15%" align="left">
                    <asp:ImageButton ID="btnPageEnd" runat="server" ImageUrl="~/Img/nextend.png" CommandName="Page"
                      CommandArgument="Last" ToolTip="Last" />
                  </td>--%>
                </tr>
              </table>
            </PagerTemplate>
          </asp:GridView>
          <asp:Label ID="lblPage" runat="server"></asp:Label></td>
      </tr>
    </table>

    </form>
</body>
</html>
