<%@ page language="VB" masterpagefile="~/MasterPage.master" autoeventwireup="false" inherits="TurnoDataGrelhaEquipas, App_Web_znjejdfy" title="Cronos - Módulo web" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
        <tr>
            <td align="left" colspan="34" style="height: 20px; background-color: #5d7b9d; text-align: center">
            <asp:Label ID="Label5" runat="server" Font-Bold="True" Font-Size="X-Small" ForeColor="Yellow" Text="Gestão Turnos / Escalas"></asp:Label></td>
        </tr>
        <tr>
            <td colspan="20" style="height: 20px; background-color: #5d7b9d; text-align: left" >
                <asp:Label ID="Label1" runat="server" Text="Filtro:" ForeColor= "White" ></asp:Label>
                <asp:DropDownList ID="txtFiltro" runat="server" BackColor="#D6E0EE" Font-Size="X-Small"  AutoPostBack="True">
                <asp:ListItem></asp:ListItem></asp:DropDownList>&nbsp;
                <asp:Label ID="LabelValor1" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor1" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData1" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:Label ID="LabelValor2" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor2" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData2" runat="server" Font-Size="X-Small"  Width="55px" Visible="False"></asp:TextBox>
                <asp:Label ID="LabelValor3" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor3" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData3" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:ImageButton ID="Pesquisar3" runat="server" ImageUrl="~/Imagens/Lupa2.png" ToolTip="Executar filtro" OnClientClick="target=''" Width="24px" Visible="False"/>
                <asp:Label ID="LabelValor4" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor4" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData4" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:ImageButton ID="Pesquisar4" runat="server" ImageUrl="~/Imagens/Lupa2.png" ToolTip="Executar filtro" OnClientClick="target=''" Width="24px" Visible="False"/>
                <asp:Label ID="LabelValor5" runat="server" Text="Valor: " ForeColor="White" Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor5" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData5" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:ImageButton ID="Pesquisar5" runat="server" ImageUrl="~/Imagens/Lupa2.png" ToolTip="Executar filtro" OnClientClick="target=''" Width="24px" Visible="False"/>
                <asp:Label ID="LabelValor6" runat="server" Text="Valor: " ForeColor="White"  Visible="False"></asp:Label>
                <asp:TextBox ID="txtFiltroValor6" runat="server" Font-Size="X-Small" Width="55px" Visible="False"></asp:TextBox>
                <asp:TextBox ID="txtFiltroData6" runat="server" Font-Size="X-Small" Visible="False" Width="55px"></asp:TextBox>
                <asp:ImageButton ID="Pesquisar6" runat="server" ImageUrl="~/Imagens/Lupa2.png" ToolTip="Executar filtro" OnClientClick="target=''" Width="24px" Visible="False"/>
            </td>
            <td colspan="14" style="height: 20px; background-color: #5d7b9d; text-align: Right" >
                <%--<asp:ImageButton ID="lnkInserir" runat="server" ImageUrl="~/Imagens/Add.png" ToolTip="Inserir novo empregado" Width="30px"/>--%>
                <asp:ImageButton ID="btnTurnoDataGrelha" runat="server" ImageUrl="~/Imagens/Escalas.png" ToolTip="Gestão de turnos / escalas" Width="30px" Visible="True"/>
                <asp:ImageButton ID="lnkHorariosPessoal" runat="server" ImageUrl="~/Imagens/Horarios2.png" PostBackUrl="HorariosPessoal.aspx" ToolTip="Horários Pessoal - Grelha" Width="30px"/>
                <asp:ImageButton ID="lnkEquipas" runat="server" ImageUrl="~/Imagens/Pessoal2.png" ToolTip="Equipas" Width="30px"/>
                <asp:ImageButton ID="btnTabelasAuxiliares" runat="server" ImageUrl="~/Imagens/Tabelas.png" ToolTip="Configurar tabelas auxiliares" Width="30px" Visible="True"/>
                <asp:ImageButton ID="btnOpenOffice" runat="server" ImageUrl="~/Imagens/OpenOffice.png" ToolTip="Exportar para Csv / Open Office" Width="30px"/>
                <asp:ImageButton ID="btnExcel" runat="server" ImageUrl="~/Imagens/Excel.png" ToolTip="Exportar para Excel" Width="30px"/>
                <asp:ImageButton ID="btnWord" runat="server" ImageUrl="~/Imagens/Word.png" ToolTip="Exportar para Word" Width="30px"/>
                <asp:ImageButton ID="btnImprimir" runat="server" ImageUrl="~/Imagens/print.gif" ToolTip="Imprimir" OnClientClick="target=''" Width="30px"/>
            </td>
        </tr>
        <tr>
            <td colspan="34" style="text-align: center">
                <asp:Panel ID="pnlEdit" runat="server" Visible="False" Width="100%">
                <table border="0" cellpadding="0" cellspacing="0" style="border-right: black 1px solid;
                        border-top: black 1px solid; border-left: black 1px solid; width: 100%; border-bottom: black 1px solid;
                        background-color: #d6e0ee">
                    <tr>
                        <td colspan="7" style="height: 12px; text-align: center">
                            <asp:Label ID="lblAccao" runat="server" Visible="False"></asp:Label>&nbsp;&nbsp;
                            <asp:Label ID="lblIndex" runat="server" Visible="False">NumeroEmpregado</asp:Label> 
                        </td>
                    </tr>
                    <tr>
                    <td colspan="36" style="height: 20px; background-color: #d6e0ee; text-align: center">

<%--                        <asp:Label ID="Label8" runat="server" Text="Empregado:"></asp:Label>&nbsp;
                        <asp:DropDownList ID="cboNumeroEmpregado" runat="server" AutoPostBack="True" Enabled="False" Font-Size="X-Small">
                        </asp:DropDownList>&nbsp;&nbsp;
                        <asp:ImageButton ID="btnIndex" runat="server" 
                            ImageUrl="~/Imagens/Edit2.png" ToolTip="Alterar ordenação." Width="16px" />&nbsp;&nbsp;
                        <asp:Label ID="RotuloDataVigor" runat="server" Text="Data em Vigor:"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtDataVigor" runat="server" BorderColor="Black" 
                            BorderWidth="1px" Enabled="False" Font-Size="X-Small" Width="60px" Wrap="False"></asp:TextBox>&nbsp;&nbsp;
                        <asp:Label ID="RotuloHorario" runat="server" Text="Horário:"></asp:Label>&nbsp;
                        <asp:DropDownList ID="cboHorario" runat="server" AutoPostBack="True" 
                            Font-Size="X-Small" Width="130px">
                        </asp:DropDownList>&nbsp;&nbsp;
                        <asp:Label ID="Label2" runat="server" Text="Ausência:"></asp:Label>&nbsp;
                        <asp:DropDownList ID="cboFalta" runat="server" AutoPostBack="True" 
                            Font-Size="X-Small" Width="130px">
                        </asp:DropDownList>
--%>                    </td>
                    </tr>
<%--                    <tr align="center">
                        <td colspan="10" style="height: 3px; text-align: center">
                            <asp:LinkButton ID="lnkSair" runat="server">Sair</asp:LinkButton>
                        </td>
                    </tr>--%>
                </table>
            </asp:Panel>
            </td>
        </tr>
        <tr>
        <td colspan="34" style="text-align: center">
            <asp:Panel ID="pnlTabelasAuxiliares" runat="server" Visible="False" Width="100%">
            <table border="0" cellpadding="0" cellspacing="0" style="border-right: black 1px solid;
                    border-top: black 1px solid; border-left: black 1px solid; width: 100%; border-bottom: black 1px solid;
                    background-color: #d6e0ee">
                <tr>
                    <td 
                        style="height: 20px; background-color: White; text-align: center" 
                        align="left"> 
                        <asp:Label ID="lblMsg2" runat="server" Visible="False" BackColor="White"></asp:Label> 
                    </td>
                </tr>
                <tr>
                    <td style="height: 20px; background-color: #d6e0ee; text-align: center">
                        <asp:Label ID="RotuloTabela" runat="server" Font-Size="X-Small" Text="Tabela:"></asp:Label>&nbsp;&nbsp;
                        <asp:DropDownList ID="cboTabelaAuxiliar" runat="server" AutoPostBack="True" 
                            Font-Size="X-Small" Width="200px" Height="20px"> </asp:DropDownList>
                        <%--<asp:Label ID="Label6" runat="server" Text="Centros de Custo"></asp:Label>--%>
                    </td>
                </tr> 
                <tr>
                    <td style="height: 30px; background-color: #d6e0ee; text-align: center">
                        <br /> 
                        <asp:Label ID="RotuloCodigo" runat="server" Text="Código:" Visible="False"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtCodigoTabelaAuxiliar" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="47px" Visible="False"></asp:TextBox>&nbsp;
                        <asp:Label ID="RotuloDescricao" runat="server" Text="Descrição:" 
                            Visible="False"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtDescricaoTabelaAuxiliar" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="235px" Visible="False"></asp:TextBox>&nbsp;
                        <asp:Label ID="RotuloCpo3" runat="server" Text="" Visible="False"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtcpo3" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="60px" Visible="False" ></asp:TextBox>&nbsp;&nbsp;
                        <asp:Label ID="RotuloCpo4" runat="server" Text="" Visible="False" ></asp:Label>&nbsp;
                        <asp:TextBox ID="txtcpo4" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="60px" Visible="False" ></asp:TextBox>&nbsp;&nbsp;
                        <asp:ImageButton ID="btnCor" runat="server" 
                                ImageUrl="~/Imagens/Edit2.png" ToolTip="Escolher cor" Width="16px" Visible="False" />&nbsp;&nbsp;
                        <asp:Label ID="RotuloCpo5" runat="server" Text="" Visible="False" ></asp:Label>&nbsp;
                        <asp:TextBox ID="txtcpo5" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="60px" Visible="False" ></asp:TextBox>&nbsp;&nbsp;
                        <asp:Label ID="RotuloCpo6" runat="server" Visible="False"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtcpo6" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Visible="False" Width="60px"></asp:TextBox>&nbsp;&nbsp;
                        <asp:LinkButton ID="lnkGravar2" runat="server" Visible="False">Gravar</asp:LinkButton>&nbsp;&nbsp;
                        <asp:LinkButton ID="lnkCancelar2" runat="server" Visible="False">Cancelar</asp:LinkButton>
                        <br /> 
                        <asp:GridView ID="grdDadosCores" runat="server" CellPadding="4" HorizontalAlign="Center" 
                                PageSize="4" Width="702px" AutoGenerateColumns="False" 
                            Visible="False" >
                            <Columns>
                                <asp:CommandField SelectText="" ShowSelectButton="True" ButtonType="Image" 
                                    SelectImageUrl="~/Imagens/Edit2.png" />
                                <asp:BoundField DataField="ID" HeaderText="ID" />
                                <asp:BoundField DataField="Cor" HeaderText="Cor" />
                                <asp:BoundField DataField="Codigo" HeaderText="Código" />
                                <asp:TemplateField HeaderText="Activa">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chkActiva" runat="server" AutoPostBack="True" OnCheckedChanged="chkActiva_Clicked" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="Activa" HeaderText="CpoActiva" />
                            </Columns>
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <EditRowStyle BackColor="#999999" />
                            <PagerSettings Visible="true"  Position="Bottom" Mode="NextPreviousFirstLast" FirstPageImageUrl="Imagens/SetaPrimeiro.png" PreviousPageImageUrl="Imagens/SetaEsquerda.png" NextPageImageUrl="Imagens/SetaDireita.png" LastPageImageUrl="Imagens/SetaUltimo.png" />
                            <PagerStyle BackColor="#F7F6F3" ForeColor="#5D7B9D" Font-Size="Small" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                        <br />
                        <asp:GridView ID="grdDadosTabelasAuxiliares" runat="server" CellPadding="4" HorizontalAlign="Center" 
                                PageSize="4" Width="702px" RowStyle-HorizontalAlign="Left">
                            <Columns>
                                <asp:CommandField SelectText="" ShowSelectButton="True" ButtonType="Image" 
                                    SelectImageUrl="~/Imagens/Edit2.png" 
                                    DeleteImageUrl="~/Imagens/Delete2.png" ShowDeleteButton="True" />
                            </Columns>
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <EditRowStyle BackColor="#999999" />
                            <PagerSettings Visible="true"  Position="Bottom" Mode="NextPreviousFirstLast" FirstPageImageUrl="Imagens/SetaPrimeiro.png" PreviousPageImageUrl="Imagens/SetaEsquerda.png" NextPageImageUrl="Imagens/SetaDireita.png" LastPageImageUrl="Imagens/SetaUltimo.png" />
                            <PagerStyle BackColor="#F7F6F3" ForeColor="#5D7B9D" Font-Size="Small" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                        <br />
                    </td>
                </tr>
            </table>
            </asp:Panel>
        </td>
        </tr>

        <tr>
        <td colspan="34" style="text-align: center">
            <asp:Panel ID="pnlEquipas" runat="server" Visible="False" Width="100%">
            <table border="0" cellpadding="0" cellspacing="0" style="border-right: black 1px solid;
                    border-top: black 1px solid; border-left: black 1px solid; width: 100%; border-bottom: black 1px solid;
                    background-color: #d6e0ee">
                <tr>
                    <td 
                        style="height: 20px; background-color: White; text-align: center" 
                        align="left"> 
                        <asp:Label ID="lblMsgEquipas" runat="server" Visible="False" BackColor="White"></asp:Label>&nbsp;&nbsp;
                        <asp:Label ID="lblIndexEquipas" runat="server" Visible="False">NumeroEmpregado</asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="height: 30px; background-color: #d6e0ee; text-align: center">
                        <br />
                        <asp:Label ID="RotuloEquipa" runat="server" Text="Equipa:" ></asp:Label>&nbsp;
                        <asp:TextBox ID="TxtEquipa" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="47px" ></asp:TextBox>&nbsp;
                        <asp:Label ID="RotuloDescEquipa" runat="server" Text="Descrição:" ></asp:Label>&nbsp;
                        <asp:TextBox ID="TxtDescEquipa" runat="server" BorderColor="Black" BorderWidth="1px" 
                            Font-Size="X-Small" Width="235px" ></asp:TextBox>&nbsp;
                        <asp:Label ID="RotuloDataVigorEquipa" runat="server" Text="Data em Vigor:"></asp:Label>&nbsp;
                        <asp:TextBox ID="txtDataVigorEquipa" runat="server" BorderColor="Black" 
                            BorderWidth="1px" Enabled="True" Font-Size="X-Small" Width="60px" Wrap="False"></asp:TextBox>&nbsp;&nbsp;
<%--                        <asp:Label ID="RotuloDataVigorEquipa" runat="server" Text="Data em Vigor:"></asp:Label>&nbsp;
                        <asp:TextBox ID="TxtDataVigorEquipa" runat="server" BorderColor="Black" BorderWidth="1px"
                            Font-Size="X-Small" Width="60px" AutoPostBack="True" ></asp:TextBox>&nbsp;&nbsp;--%>
                        <asp:Label ID="RotuloEquipaTurno" runat="server" Text="Turno:" ></asp:Label>&nbsp;
                            <asp:DropDownList ID="cboEquipaTurno" runat="server" AutoPostBack="True" 
                                Font-Size="X-Small" Width="130px" > </asp:DropDownList>&nbsp;&nbsp;
                        <asp:Label ID="RotuloEquipaHorario" runat="server" Text="Horário:" ></asp:Label>&nbsp;
                            <asp:DropDownList ID="cboEquipaHorario" runat="server" AutoPostBack="True" 
                                Font-Size="X-Small" Width="130px" > </asp:DropDownList>&nbsp;&nbsp;
                        <asp:Label ID="RotuloEquipaEmpregado" runat="server" Text="Empregado:" ></asp:Label>&nbsp;
                        <asp:DropDownList ID="cboNumeroEmpregadoEquipa" runat="server" Font-Size="X-Small" >
                        </asp:DropDownList>&nbsp;
                        <asp:ImageButton ID="btnIndexEquipa" runat="server" 
                            ImageUrl="~/Imagens/Edit2.png" ToolTip="Alterar ordenação." Width="16px" 
                             />&nbsp;&nbsp;
                        <asp:LinkButton ID="lnkGravarEquipas" runat="server" >Gravar</asp:LinkButton>&nbsp;&nbsp;
                        <asp:LinkButton ID="lnkCancelarEquipas" runat="server" >Cancelar</asp:LinkButton>                        <br /> <br />
                        <asp:GridView ID="grdDadosEquipas" runat="server" CellPadding="4" HorizontalAlign="Center" 
                                PageSize="4" Width="800px" AutoGenerateColumns="False" >
                            <Columns>
                                <asp:CommandField SelectText="" ShowSelectButton="True" ButtonType="Image" 
                                    SelectImageUrl="~/Imagens/Edit2.png" 
                                    DeleteImageUrl="~/Imagens/Delete2.png" ShowDeleteButton="True" />
                                <asp:BoundField DataField="Equipa" HeaderText="Equipa" />
                                <asp:TemplateField HeaderText="Activa">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chkEquipaActiva" runat="server" AutoPostBack="True" OnCheckedChanged="chkEquipaActiva_Clicked" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="DataVigor" HeaderText="Data Vigor" />
                                <asp:BoundField DataField="Turno" HeaderText="Turno" > <ItemStyle HorizontalAlign="Left" /> </asp:BoundField>
                                <asp:BoundField DataField="Horario" HeaderText="Horario" > <ItemStyle HorizontalAlign="Left" /> </asp:BoundField>
                                <asp:BoundField DataField="Empregado" HeaderText="Empregado" > <ItemStyle HorizontalAlign="Left"  /> </asp:BoundField>
                                <asp:TemplateField HeaderText="Activo">
                                    <ItemTemplate>
                                        <asp:CheckBox ID="chkEquipaEmpregadoActivo" runat="server" AutoPostBack="True" OnCheckedChanged="chkEquipaEmpregadoActivo_Clicked" />
                                    </ItemTemplate>
                                </asp:TemplateField>
                                <asp:BoundField DataField="Equipa2" HeaderText="CpoEquipa" />
                                <asp:BoundField DataField="Activa" HeaderText="CpoActiva" />
                                <asp:BoundField DataField="Turno2" HeaderText="CpoTurno" />
                                <asp:BoundField DataField="Horario2" HeaderText="CpoHorario" />
                                <asp:BoundField DataField="NumeroEmpregado2" HeaderText="CpoNumeroEmpregado" />
                                <asp:BoundField DataField="Activo" HeaderText="CpoActivo" />
                                <asp:BoundField DataField="Tipo" HeaderText="CpoTipo" />
                            </Columns>
                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                            <EditRowStyle BackColor="#999999" />
                            <PagerSettings Visible="true"  Position="Bottom" Mode="NextPreviousFirstLast" FirstPageImageUrl="Imagens/SetaPrimeiro.png" PreviousPageImageUrl="Imagens/SetaEsquerda.png" NextPageImageUrl="Imagens/SetaDireita.png" LastPageImageUrl="Imagens/SetaUltimo.png" />
                            <PagerStyle BackColor="#F7F6F3" ForeColor="#5D7B9D" Font-Size="Small" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                        </asp:GridView>
                        <br />
                    </td>
                </tr>
            </table>
            </asp:Panel>
        </td>
        </tr>

        <tr>
            <td colspan="34" 
                style="height: 20px; background-color: White; text-align: center" 
                align="left"> 
                <asp:Label ID="lblMsg" runat="server" Visible="False" BackColor="White"></asp:Label> <%--BackColor="#F1F4FA"--%>
            </td>
        </tr>
        <tr>
        <td colspan="34">
        <asp:GridView ID="grdDados" runat="server" CellPadding="4" ForeColor="#333333" GridLines="Vertical" Width="100%" AllowPaging="True" PageSize="16">
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <Columns>
            <asp:CommandField SelectText="&gt;" ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/Imagens/Selecao.png" />
        </Columns>
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <EditRowStyle BackColor="#999999" />
        <PagerSettings Visible="true"  Position="Bottom" Mode="NextPreviousFirstLast" FirstPageImageUrl="Imagens/SetaPrimeiro.png" PreviousPageImageUrl="Imagens/SetaEsquerda.png" NextPageImageUrl="Imagens/SetaDireita.png" LastPageImageUrl="Imagens/SetaUltimo.png" />
        <PagerStyle BackColor="#F7F6F3" ForeColor="#5D7B9D" Font-Size="Small" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
        </asp:GridView>
            </td>
        </tr>
        <%--<tr> <td style="height: 10px; background-color: White;"> </td> </tr>--%>
        <tr>
            <td colspan="34" style="height: 12px" align="right">
            <asp:Panel ID="pnlOpcoesRodape" runat="server" Visible="True" Width="100%" BackColor="#5d7b9d">
                <asp:Label ID="RotuloGrelha" runat="server" Text="Grelha: " 
                    ForeColor="White"></asp:Label>&nbsp;
                <asp:DropDownList ID="cboGrelha" runat="server" Font-Size="X-Small" 
                    BackColor="White" ForeColor="Black">
                    <asp:ListItem Value="0">Vertical</asp:ListItem>
                    <asp:ListItem Value="1">Horizontal</asp:ListItem>
                    <asp:ListItem Value="2">Ambos</asp:ListItem>
                </asp:DropDownList>&nbsp;
                <asp:Label ID="RotuloLinhasPagina" runat="server" Text="Paginação Linhas:" 
                    ForeColor="White"></asp:Label>&nbsp;
                <asp:TextBox ID="txtLinhasPagina" runat="server" BorderColor="White" 
                    BorderWidth="0px" Font-Size="X-Small" Height="18px" Width="30px" 
                    BackColor="#5D7B9D" ForeColor="White" ></asp:TextBox>
                <asp:Label ID="Label3" runat="server" Text="Posição: " 
                    ForeColor="White"></asp:Label>&nbsp;
                <asp:DropDownList ID="cboPaginacaoPosicao" runat="server" Font-Size="X-Small" 
                    BackColor="White" ForeColor="Black">
                    <asp:ListItem Value="0">Em baixo</asp:ListItem>
                    <asp:ListItem Value="1">Em cima</asp:ListItem>
                    <asp:ListItem Value="2">Em ambos</asp:ListItem>
                </asp:DropDownList>&nbsp;
                <asp:Label ID="Label4" runat="server" Text="Tipo: " 
                    ForeColor="White"></asp:Label>&nbsp;
                <asp:DropDownList ID="cboPaginacaoTipo" runat="server" Font-Size="X-Small" 
                    BackColor="White" ForeColor="Black">
                    <asp:ListItem Value="2">Botões</asp:ListItem>
                    <asp:ListItem Value="3">Nº pág.</asp:ListItem>
                </asp:DropDownList>&nbsp;
                <asp:ImageButton ID="btnGravarOpoes" runat="server"  ImageUrl="~/Imagens/Edit2.png" ToolTip="Gravar opções"/>&nbsp;
            </asp:Panel>
            </td>                 
        </tr>
    </table>
</asp:Content>

