<%@ page language="VB" masterpagefile="~/master/master/mas_mobile.master" autoeventwireup="false" inherits="samm_mobile.mob_srv_rep_6, App_Web_vluqx7bl" %>
 <%@ Register Src="../../controles/general/fechaMobile.ascx" TagName="fechaAvanzada" TagPrefix="uc1" %>

<asp:Content ID="Content3" ContentPlaceHolderID="cph_general" runat="Server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
                            </asp:ScriptManager>
  <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/mob/app/menu.aspx"></asp:HyperLink>
         <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="rep_4.aspx"></asp:HyperLink>
    <asp:HyperLink ID="hpr_volver" runat="server" NavigateUrl=""></asp:HyperLink>
    <asp:HyperLink ID="hpr_siguiente" runat="server" NavigateUrl=""></asp:HyperLink>
      <br />
    <asp:Label ID="lbl_paso6" runat="server" CssClass="lbl_titulo1"></asp:Label>
    <br />
    
       <table>
        <tr>
            <td>
                <asp:Label ID="lbl_otT" runat="server" CssClass="lbl"></asp:Label><br />
                <asp:Label ID="lbl_clienteT" runat="server" CssClass="lbl"></asp:Label>
            </td>
            <td>
                <asp:Label ID="lblOT" runat="server" Font-Bold="true" CssClass="lbl"></asp:Label><br />
                <asp:Label ID="lblCliente" runat="server" Font-Bold="true" CssClass="lbl"></asp:Label>
            </td>
            <td>
            </td>
        </tr>
        
        
          <tr>
          <td>
            <asp:Label ID="lbl_checkList" runat="server" CssClass="lbl"></asp:Label>
          </td>
          <td>
           <asp:DropDownList ID="drp_checkList" runat="server" CssClass="drp" AutoPostBack="true"
            DataTextField="lista"
                DataValueField="id">
           </asp:DropDownList>
          </td>  
          <td>
              <asp:CheckBox ID="chb_mostrarSugeridos" runat="server" AutoPostBack="True" CssClass="chb" />
          </td>
            
          <td>
              <asp:Label ID="lbl_mostrarSugeridos" runat="server" CssClass="lbl" ></asp:Label>
          </td>

          </tr>
          
        <tr>
        <td colspan="2"> 
        <asp:GridView ID="gri_check"  runat ="server"  AllowPaging="false" AutoGenerateColumns="false"  >
          <Columns>
                 <asp:TemplateField visible="false" >
                <ItemTemplate>
                <asp:Label ID="lbl_idCheck" runat="server" Text='<%#eval("id_check") %>'></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
                
                <asp:TemplateField HeaderText="<%$ Resources:res_campoAyuda,doc_documento_ot_pruebachecklist_id_pruebachecklist %>">
                <ItemTemplate>
                <asp:Label ID="lbl_checklist" runat="server" Text='<%#eval("check_checkList") %>'></asp:Label>
                </ItemTemplate>
                </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
      
        </asp:GridView>
        </td>
        </tr>
          
        <tr>
        <td>       
           <asp:Button ID="bti_eliminar" runat="server" CssClass="btn" Text="Eliminar" Visible="false"  />
           
        </td>
        </tr>
        
         <tr >
             <%--   <td>
                <asp:DropDownList ID="drpDia" runat="server">
                </asp:DropDownList>
                <asp:DropDownList ID="drpMes" runat="server" >
                </asp:DropDownList>
                <asp:DropDownList ID="drpAno" runat="server" >
                </asp:DropDownList>
                </td> --%> 
                <td>
                    <uc1:fechaAvanzada ID="FechaCopia" runat="server" a_str_prefijo="ff" a_bln_obligatorio="false" />            
                    
                </td>   
          </tr>
         
         <tr>
           <td>
              <asp:CheckBox ID="chb_fechas" runat="server" AutoPostBack="True" CssClass="chb" />

              <asp:Label ID="lbl_copiarFechas" runat="server" CssClass="lbl" ></asp:Label>
          </td>
            

         </tr>
         
      </table>
      
      
      
      
      <table>
      
         <tr>
         <td colspan="2">
         <asp:GridView ID="dtlDatos" runat="server" ShowHeader="False" GridLines="None" AutoGenerateColumns="false" style="font-style: italic">
         <Columns>
           <asp:TemplateField ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left">
                          
                          <ItemTemplate>
                          <table style="width: 100%">
                          <tr>
                          <td id="tdIzq" runat="server">
                          <asp:Label ID="lbl_atributo" runat="server" CssClass="lbl" Text='<%# eval("cat_atributo_atributo") %>'></asp:Label>
                          </td>
                          </tr>
                          <tr id="trSeccion" runat="server">
                          <td style="width: 100%">
                          <hr />
                          </td>
                          </tr>
                          </table>
                          </ItemTemplate>
           </asp:TemplateField>
           
               <asp:TemplateField ItemStyle-VerticalAlign="Top" ItemStyle-HorizontalAlign="Left">    
                        <ItemTemplate>
                            <asp:TextBox ID="lblID" runat="server" Visible="FALSE">
                            </asp:TextBox>
                            
                            <table style="width: 100%"
                                cellpadding="0" cellspacing="0">
                                <tr>
                                    <td id="tdDer" runat="server">
                                        <asp:Label ID="lblIdAtributo" runat="server" Visible="false">
                                        </asp:Label>
                                        
                                        <asp:TextBox
                                            ID="txtValor" runat="server" CssClass="txt">
                                        </asp:TextBox>
                                        
                                        <asp:CheckBoxList ID="chbValores"
                                                runat="server" CssClass="chk" RepeatColumns="2">
                                        </asp:CheckBoxList>
                                            
                                        <asp:TextBox ID="txtValorNumerico" runat="server" CssClass="txt_numero">
                                        </asp:TextBox>
                                      <%--  <act:FilteredTextBoxExtender ID='ftbValorNumerico' runat='server' TargetControlID='txtValorNumerico' FilterType='Numbers,Custom' />--%>
<%--                                       <taz:textoAvanzado runat="server" ID="txt_largo" a_int_maxLength ="1000" CssClass ="txt_formulario" />
--%>                                    <asp:DropDownList ID="drpValor" runat="server" CssClass="drp">
                                        </asp:DropDownList>
                                        <asp:TextBox
                                            ID="txtDescList" runat="server" CssClass="txt">
                                        </asp:TextBox>
                                        
                                            <%--   <asp:DropDownList ID="drp_Dias" runat="server"  >
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="drp_Mes" runat="server" >
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="drp_Anos" runat="server" CssClass="drp_reporte">
                                                </asp:DropDownList>
                                                 <asp:DropDownList ID="drpHoras" runat="server" CssClass="drp_reporte">
                                                </asp:DropDownList><asp:DropDownList ID="drpMinutos" runat="server" CssClass="drp_reporte">
                                                </asp:DropDownList>                     
                                                                     --%>   
                                                                     
                                     <uc1:fechaAvanzada ID="fecValor" runat="server" a_str_grupoValidacion='atr' a_bln_obligatorio='<%# eval("obligatorio") %>' />       
                                     <%--   <uc1:fechaAvanzada ID="fecValor" runat="server" a_str_grupoValidacion='atr' a_bln_obligatorio='<%# eval("obligatorio") %>' />--%>
                                        <asp:RequiredFieldValidator ID="rfv_num" runat="server" Enabled='<%# eval("obligatorio") %>'
                                            ControlToValidate='txtValorNumerico' ErrorMessage="" CssClass='lbl_mensaje' ValidationGroup='atr'>*
                                        </asp:RequiredFieldValidator>
                                        
                                        <asp:RequiredFieldValidator
                                                ID="rfv_drp" runat="server" Enabled='<%# eval("obligatorio") %>' ControlToValidate='drpValor'
                                                ErrorMessage="" CssClass='lbl_mensaje' ValidationGroup='atr'>*
                                        </asp:RequiredFieldValidator>
                                        
                                        <asp:RequiredFieldValidator
                                                    ID="rfv_texto" runat="server" Enabled='<%# eval("obligatorio") %>' ControlToValidate='txtValor'
                                                    ErrorMessage="" CssClass='lbl_mensaje' ValidationGroup='atr'>*
                                        </asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                            </table>
                            
                        </ItemTemplate> 
                 </asp:TemplateField>
                    
            <asp:TemplateField>
                        <ItemTemplate>
                            <table style="width: 100%">
                                <tr>
                                    <td id="td_tomaDato" runat="server">
                                        <%--<uc1:fechaAvanzada ID="fecTomaDato" runat="server" a_str_prefijo="ff" a_bln_obligatorio="false" />--%>
                                     <%--<asp:DropDownList ID="drp_Diasff" runat="server"  >
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="drp_Mesff" runat="server" >
                                                </asp:DropDownList>
                                                <asp:DropDownList ID="drp_Anosff" runat="server" CssClass="drp_reporte">
                                                </asp:DropDownList>--%>
                                                
                    <uc1:fechaAvanzada ID="fecTomaDato" runat="server" a_str_prefijo="ff" a_bln_obligatorio="false" />
                                                       </td>
                                </tr>
                            </table>
                        </ItemTemplate>
                    
           </asp:TemplateField>
         </Columns>
         </asp:GridView>
         </td>
         </tr>
      
        
        <tr>
        <td>
        &nbsp;
        &nbsp;
        &nbsp;
        &nbsp;
        &nbsp;
        </td>
        <td>
        <asp:Button ID="btnAceptar" runat="server" CssClass="btn" Text="Aceptar" Visible="false"  />
        
        </td>
        </tr>
        
        <tr>
        <td>
       </td>
       <td>
       <asp:Label ID="lbl_mensaje" runat="server" Text="" CssClass="lbl_mensaje"></asp:Label>
       </td>
       </tr>
      </table>
      
</asp:Content>
