<%@ Page Language="c#" Codebehind="GrupyMailoweLista.aspx.cs" AutoEventWireup="True" Inherits="KOLKaP_WEB.KOLKaP.GrupyMailoweLista" %>
<!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>
  <title>GrupyMailoweLista</title>
  
  <meta content="C#" name="CODE_LANGUAGE" />
  <meta content="JavaScript" name="vs_defaultClientScript" />
  
  <link href="../Web.css?2" type="text/css" rel="stylesheet" />
  <script language="javascript" src="../jquery132min.js" type="text/javascript"></script>
  <script type="text/javascript" language="javascript">
		function scrollToPosY(idOb)
		{
		  window.scrollTo(0,$("input[name='"+idOb+"']").offset().top);
		}
  </script>
</head>
<body class="Body" oncontextmenu="return false" style="margin-left: 0px; margin-right: 5px">
  <form id="Form1" method="post" runat="server">
    <table class="Body" cellspacing="0" cellpadding="0" width="100%" border="0">
      <tr>
        <td colspan="5">
          <asp:Label ID="lblOpis" runat="server" Font-Size="Medium" Font-Bold="True">Grupy mailowe</asp:Label>
        </td>
      </tr>
      <tr>
        <td colspan="5">&nbsp;</td>
      </tr>
      <tr>
        <td colspan="5">
          <asp:Label ID="lblError" runat="server" EnableViewState="False"></asp:Label>
        </td>
      </tr>
      <tr>
        <td colspan="5">&nbsp;</td>
      </tr>
    </table>
    <asp:Label ID="lblGrupyListyMailowe" runat="server" Font-Size="11px" Font-Bold="True"
      Width="100%" Font-Names="Tahoma,Arial,Helvetica"></asp:Label>
    <asp:DataGrid ID="dgGrupyMailowe" runat="server" AutoGenerateColumns="False" DataSource="<%# dvGrupyMailowe %>"
      CssClass="aspGrid" Width="100%" AllowSorting="True">
      <AlternatingItemStyle CssClass="TableItemAlt"></AlternatingItemStyle>
      <ItemStyle CssClass="TableItem"></ItemStyle>
      <HeaderStyle HorizontalAlign="Center" ForeColor="White" CssClass="TableHeader" VerticalAlign="Top">
      </HeaderStyle>
      <Columns>
        <asp:ButtonColumn Text="Wybierz" ButtonType="PushButton" CommandName="Select"></asp:ButtonColumn>
        <asp:BoundColumn Visible="False" DataField="ID_GRUPY" SortExpression="ID_GRUPY" HeaderText="ID_GRUPY">
        </asp:BoundColumn>
        <asp:BoundColumn DataField="NAZWA" SortExpression="NAZWA" HeaderText="Opis">
          <HeaderStyle Width="33%"></HeaderStyle>
        </asp:BoundColumn>
        <asp:BoundColumn DataField="EMAIL" SortExpression="EMAIL" HeaderText="Identyfikator">
          <HeaderStyle Width="33%"></HeaderStyle>
        </asp:BoundColumn>
        <asp:BoundColumn Visible="False" DataField="GRUPA" SortExpression="GRUPA" HeaderText="GRUPA">
        </asp:BoundColumn>
        <asp:TemplateColumn SortExpression="GRUPA_BOOL" HeaderText="Grupa mailowa">
          <HeaderStyle Width="33%"></HeaderStyle>
          <ItemStyle HorizontalAlign="Center"></ItemStyle>
          <ItemTemplate>
            <asp:CheckBox ID="ceGrupaMailowa" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.GRUPA_BOOL") %>'
              Enabled="False"></asp:CheckBox>
          </ItemTemplate>
        </asp:TemplateColumn>
      </Columns>
      <PagerStyle BackColor="LightGray" CssClass="Pager"></PagerStyle>
    </asp:DataGrid>
  </form>
</body>
</html>
