503 lines
36 KiB
Plaintext
503 lines
36 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="CatCursos.aspx.vb" Inherits="RH_CatCursos" %>
|
||
|
||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" Runat="Server">
|
||
</asp:Content>
|
||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||
<style>
|
||
.Widthall {
|
||
width: 100% !important;
|
||
}
|
||
|
||
.dataTables_scrollHeadInner {
|
||
width: 100% !important;
|
||
background-color: #dddddd;
|
||
padding-left: 0px !important;
|
||
}
|
||
|
||
.dataTables_scrollFoot {
|
||
display: none;
|
||
position: static;
|
||
}
|
||
|
||
.table-scrollable {
|
||
margin: 0px !important;
|
||
}
|
||
|
||
.dataTables_scroll {
|
||
margin-bottom: 0px;
|
||
}
|
||
|
||
.table.dataTable {
|
||
margin-top: 0px !important;
|
||
}
|
||
|
||
.dataTables_scrollBody table th {
|
||
padding: 0px !important;
|
||
padding-right: 4px !important;
|
||
padding-left: 4px !important;
|
||
}
|
||
|
||
.sinlink td a {
|
||
pointer-events: none;
|
||
cursor: default;
|
||
color: black;
|
||
font-size: small;
|
||
}
|
||
|
||
.white a {
|
||
color: white !important;
|
||
}
|
||
</style>
|
||
</asp:Content>
|
||
<asp:Content ID="Content3" ContentPlaceHolderID="E" Runat="Server">
|
||
Cursos
|
||
</asp:Content>
|
||
<asp:Content ID="Content4" ContentPlaceHolderID="HB" Runat="Server">
|
||
</asp:Content>
|
||
<asp:Content ID="Content5" ContentPlaceHolderID="H" Runat="Server">
|
||
<asp:UpdatePanel runat="server" ID="UpAgregar">
|
||
<ContentTemplate>
|
||
<li>
|
||
<asp:LinkButton runat="server" ID="BtnAgregarCurso" data-toggle="tooltip" data-placement="left" title="Agregar un Curso"
|
||
Text="<i class='fa fa-plus'></i> Agregar Curso"></asp:LinkButton>
|
||
</li>
|
||
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</asp:Content>
|
||
<asp:Content ID="Content6" ContentPlaceHolderID="HA" Runat="Server">
|
||
</asp:Content>
|
||
<asp:Content ID="Content7" ContentPlaceHolderID="C" Runat="Server">
|
||
|
||
<asp:UpdatePanel ID="UpGral" runat="server" UpdateMode="Conditional" ><ContentTemplate>
|
||
<ajax:TabContainer ID="TabCursos" runat="server" ActiveTabIndex="0" Width="100%">
|
||
|
||
<ajax:TabPanel ID="TabCapacitadoresSub" runat="server" HeaderText="Cursos">
|
||
<ContentTemplate>
|
||
|
||
|
||
<div class="row col-md-12" style="text-align:right!important;margin-top:20px!important;margin-bottom:2px!important">
|
||
|
||
<input type="text" id="TxtBusqueda" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvCurso.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda','{0}')", GvCurso.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||
</div>
|
||
|
||
<div class="row">
|
||
<div class="col-md-12">
|
||
<asp:UpdatePanel ID="UPGvCursos" runat="server" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
|
||
<asp:GridView ID="GvCurso" runat="server" AutoGenerateColumns="False"
|
||
DataKeyNames="CveCurso,Curso,CveTema,Tema,CveSubtema,Subtema,CveCapacitador,Capacitador,Duracion,Estatus,Activo,Observaciones,ConstanciaDC3,CveAreaTematica,Fecha,Hora,Ubicacion"
|
||
EmptyDataText="No se encontraron datos" ToolTip="" CssClass="ScrollAD table table-striped table-advance table-hover Widthall" GridLines="None">
|
||
<Columns>
|
||
<asp:TemplateField HeaderText="Curso">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlCurso" runat="server" Text='<%# Eval("Curso") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Area Temática" ItemStyle-HorizontalAlign="Left">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="ltlAreaTematica" runat="server" Text='<%# Eval("AreaTematica")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Tema" ItemStyle-HorizontalAlign="Left">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="ltlTema" runat="server" Text='<%# Eval("Tema")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Subtema" ItemStyle-HorizontalAlign="Left">
|
||
<ItemTemplate>
|
||
<asp:Label ID="LtlSubtema" runat="server" Text='<%# Eval("Subtema") %>'></asp:Label>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Capacitador" ItemStyle-HorizontalAlign ="Left" >
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlCapacitador" runat="server" Text='<%# Eval("Capacitador") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Dc3" ItemStyle-HorizontalAlign ="Left" >
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlConstanciaDC3" runat="server" Text='<%# Eval("SConstanciaDC3") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Duracion" ItemStyle-HorizontalAlign ="Left" >
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlDuracion" runat="server" Text='<%# Eval("Duracion") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Estatus" ItemStyle-HorizontalAlign ="Center" >
|
||
<ItemTemplate>
|
||
<asp:Literal ID="LtlEstatus" runat="server" Text='<%# Eval("Activo") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField HeaderText="Fecha" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="100px">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="lblFecha" runat="server" Text='<%# Eval("FechaIng", "{0:d}")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField ItemStyle-Width="300px" HeaderText="Usuario">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="lblUsuario" runat="server" Text='<%# Eval("Usuario") %>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="40px">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="ImgE" OnClick="Edit_ClickCursos" runat="server" ToolTip="Editar Curso" AlternateText="Editar" CausesValidation="False"
|
||
CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-pencil'></i>" />
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="40px">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="ImgEA" OnClick="Asistencias_ClickCursos" ToolTip="Asistencias" runat="server" AlternateText="Editar" CausesValidation="False"
|
||
CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-list-ul'></i>" />
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="40px">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="ImgReimprimir" OnClick="ImgReimprimir_Click" ToolTip="Imprimir Lista" runat="server" AlternateText="Editar" CausesValidation="False"
|
||
CssClass="btn btn-circle btn-sm green" Text="<i class='fa fa-list-alt'></i>"
|
||
data-toggle="confirmation" data-popout="true" data-original-title="confirmar" data-btn-ok-label="si" />
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="40px">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="ImgSendMails" OnClick="ImgSendMails_Click" ToolTip="Enviar Invitaciones" runat="server" AlternateText="Editar" CausesValidation="False"
|
||
CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-envelope-o' title='Enviar Invitaciones'></i>"
|
||
data-toggle="confirmation" data-popout="true" data-original-title="confirmar" data-btn-ok-label="si" />
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Left" ItemStyle-Width="40px">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="imgD" OnClick="Remove_ClickCursos" runat="server" AlternateText="Eliminar" CausesValidation="False" CssClass="btn btn-circle btn-sm red" Text="<i class='icon-trash'></i>" data-toggle="confirmation" data-popout="true" data-original-title="confirmar" data-btn-ok-label="si" />
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
|
||
</Columns>
|
||
</asp:GridView>
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
</ContentTemplate>
|
||
</ajax:TabPanel>
|
||
|
||
|
||
</ajax:TabContainer>
|
||
|
||
<div id="divAgregarCurso" class="modal ADS fade" role="dialog">
|
||
<div id="dvEdicion" runat="server" class="modal-dialog" style="width:750px;">
|
||
<asp:UpdatePanel runat="server" class="modal-content" ID="UpModalCurso" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<div class="modal-header ">
|
||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||
<h4 class="modal-title">
|
||
<asp:Literal ID="LtlTituloModalCapacitadores" runat="server">Agregar Curso</asp:Literal></h4>
|
||
</div>
|
||
<div class="modal-body">
|
||
|
||
<div class="row">
|
||
<div class="col-md-6">
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:TextBox ID="TxtCurso" CssClass="form-control " runat="server" MaxLength="100" CausesValidation="true"></asp:TextBox>
|
||
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TxtCurso" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Curso''</b> es necesario, por favor ingréselo." ValidationGroup="GrpCurso"></asp:RequiredFieldValidator>
|
||
<label for="<%= TxtCurso.ClientID.ToString()%>">Curso:</label>
|
||
<i></i>
|
||
</div>
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:DropDownList ID="DDlTema" runat="server" Width="250" AutoPostBack="true" CssClass="form-control input-sm select2me js-referencia-programmatic" DataTextField="Tema" DataValueField="CveTema"></asp:DropDownList>
|
||
<asp:RequiredFieldValidator InitialValue="-1" ID="rfvDDlTema" ControlToValidate="DDlTema" Display="None" ValidationGroup="GrpCurso" runat="server" Text="*" ErrorMessage="Seleccione una de las opciones"></asp:RequiredFieldValidator>
|
||
<ajax:ValidatorCalloutExtender ID="rfvcDDLTema" runat="server" TargetControlID="rfvDDlTema" HighlightCssClass="validatorCalloutHighlight"></ajax:ValidatorCalloutExtender>
|
||
<label for="<%= DDlTema.ClientID.ToString()%>">Tema:</label>
|
||
<i></i>
|
||
</div>
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:DropDownList ID="DDLSubtema" runat="server" Width="250" CssClass="form-control input-sm select2me js-referencia-programmatic" DataTextField="Subtema" DataValueField="CveSubtema"></asp:DropDownList>
|
||
<asp:RequiredFieldValidator InitialValue="-1" ID="rfvDDLSubtema" ControlToValidate="DDLSubtema" Display="None" ValidationGroup="GrpCurso" runat="server" Text="*" ErrorMessage="Seleccione una de las opciones"></asp:RequiredFieldValidator>
|
||
<ajax:ValidatorCalloutExtender ID="rfvcDDLSubtema" runat="server" TargetControlID="rfvDDLSubtema" HighlightCssClass="validatorCalloutHighlight"></ajax:ValidatorCalloutExtender>
|
||
<label for="<%= DDLSubtema.ClientID.ToString()%>">Subtema:</label>
|
||
<i></i>
|
||
</div>
|
||
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:DropDownList ID="DDLAreaTematica" runat="server" Width="250" CssClass="form-control input-sm select2me js-referencia-programmatic" DataTextField="Denominacion" DataValueField="CveAreaTematica"></asp:DropDownList>
|
||
<label for="<%= DDLSubtema.ClientID.ToString()%>">Área Temática(STPS):</label>
|
||
</div>
|
||
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:DropDownList ID="DDLCapacitador" runat="server" Width="250" CssClass="form-control input-sm select2me js-referencia-programmatic" DataTextField="Capacitador" DataValueField="CveCapacitador"></asp:DropDownList>
|
||
<asp:RequiredFieldValidator InitialValue="-1" ID="rfvDDLCapacitador" ControlToValidate="DDLCapacitador" Display="None" ValidationGroup="GrpCurso" runat="server" Text="*" ErrorMessage="Seleccione una de las opciones"></asp:RequiredFieldValidator>
|
||
<ajax:ValidatorCalloutExtender ID="rfvcDDLCapacitador" runat="server" TargetControlID="rfvDDLCapacitador" HighlightCssClass="validatorCalloutHighlight"></ajax:ValidatorCalloutExtender>
|
||
<label for="<%= DDLCapacitador.ClientID.ToString()%>">Capacitador:</label>
|
||
<i></i>
|
||
</div>
|
||
|
||
|
||
<div class="row">
|
||
<div class="col-md-7">
|
||
<label for="<%= txtInicio.ClientID.ToString()%>">Fecha:</label>
|
||
<div class="input-group input-sm date date-picker " data-date-format="dd/mm/yyyy" style="display: inline-block;">
|
||
|
||
|
||
<asp:TextBox ID="txtInicio" runat="server" CssClass="form-control input-sm" CausesValidation="true" MaxLength="10" Width="82px "></asp:TextBox>
|
||
|
||
|
||
|
||
<span class="input-group-btn ">
|
||
<asp:LinkButton ID="ImgFechaInicio" class="btn default " Text="<i class='fa fa-calendar'></i>" runat="server"></asp:LinkButton>
|
||
</span>
|
||
|
||
</div>
|
||
<ajax:MaskedEditExtender ID="MEEFecha" runat="server" TargetControlID="txtInicio" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
|
||
<ajax:CalendarExtender runat="server" ID="CEFecha" TargetControlID="txtInicio" PopupButtonID="ImgFechaInicio" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
|
||
<asp:RequiredFieldValidator ID="RFVFecha" runat="server" ControlToValidate="txtInicio" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> es necesario, por favor ingréselo." ValidationGroup="GrpCurso"></asp:RequiredFieldValidator>
|
||
<asp:CompareValidator ID="CVFecha" runat="server" ControlToValidate="txtInicio" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Fecha''</b> no tiene el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" GrpCurso="GrpEmitirImprimir"></asp:CompareValidator>
|
||
<ajax:ValidatorCalloutExtender ID="VCOFecha1" runat="server" HighlightCssClass="vco" TargetControlID="RFVFecha" Width="350px"></ajax:ValidatorCalloutExtender>
|
||
<ajax:ValidatorCalloutExtender ID="VCOFecha2" runat="server" HighlightCssClass="vco" TargetControlID="CVFecha" Width="350px"></ajax:ValidatorCalloutExtender>
|
||
|
||
|
||
</div>
|
||
<div class="col-md-5" style="text-align:left!important">
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<label for="<%= TxtHoraEntrada.ClientID.ToString()%>">Hora:</label>
|
||
<asp:TextBox ID="TxtHoraEntrada" runat="server" CausesValidation="true" MaxLength="10" Width="70px" ></asp:TextBox>
|
||
|
||
<asp:RequiredFieldValidator ID="rfvTxtHoraEntrada" runat="server" ControlToValidate="TxtHoraEntrada" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo es necesario, por favor ingréselo." ValidationGroup="GrpCurso"></asp:RequiredFieldValidator>
|
||
<ajax:MaskedEditExtender ID="MEETxtHoraEntrada" runat="server" TargetControlID="TxtHoraEntrada" Mask="99:99:99" MaskType="Time" InputDirection="RightToLeft"></ajax:MaskedEditExtender>
|
||
<ajax:MaskedEditValidator InvalidValueMessage="Valores incorrectos(23:11:59 valor maximo)" ID="MEVTxtHoraEntrada" runat="server" ControlExtender="MEETxtHoraEntrada" ControlToValidate="TxtHoraEntrada" Display="None" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo no tiene el formato correcto, por favor corrija (Formato 24 Horas)." IsValidEmpty="true" MaximumValue="23:59:59" MinimumValue="00:00:00" ToolTip="Formato 24 Horas" ValidationGroup="GrpCurso"></ajax:MaskedEditValidator>
|
||
<ajax:ValidatorCalloutExtender ID="rfvcTxtHoraEntrada" runat="server" HighlightCssClass="vco" TargetControlID="rfvTxtHoraEntrada" Width="300px"></ajax:ValidatorCalloutExtender>
|
||
<ajax:ValidatorCalloutExtender ID="MEVCTxtHoraEntrada" runat="server" HighlightCssClass="vco" TargetControlID="MEVTxtHoraEntrada"></ajax:ValidatorCalloutExtender>
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:TextBox ID="TxtUbicacion" CssClass="form-control " runat="server" MaxLength="300" CausesValidation="true"></asp:TextBox>
|
||
<asp:RequiredFieldValidator ID="rfvTxtUbicacion" runat="server" ControlToValidate="TxtUbicacion" CssClass="help-block errorimput"
|
||
ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Ubicación''</b> es necesario, por favor ingréselo." ValidationGroup="GrpCurso"></asp:RequiredFieldValidator>
|
||
<label for="<%= TxtUbicacion.ClientID.ToString()%>">Ubicación:</label>
|
||
<i></i>
|
||
</div>
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:TextBox ID="TxtDuracion" CssClass="form-control " runat="server" MaxLength="3" TextMode="Number" CausesValidation="true"></asp:TextBox>
|
||
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TxtDuracion" ValidationExpression="^\d{1,3}$" ValidationGroup="GrpCurso" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br /> <b>''El maximo de Horas permitido es de 999''</b> , por favor ingréselo nuevamente."></asp:RegularExpressionValidator>
|
||
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="TxtDuracion" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Duracion''</b> es necesario, por favor ingréselo." ValidationGroup="GrpCurso"></asp:RequiredFieldValidator>
|
||
<label for="<%= TxtDuracion.ClientID.ToString()%>">Duración(Horas):</label>
|
||
<i></i>
|
||
</div>
|
||
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:CheckBox Text="Activo" runat="server" ID="ChkEstatus" Checked="true" Visible="true" />
|
||
</div>
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:CheckBox Text="Contancias DC-3" runat="server" ID="ChkConstancias" Checked="true" Visible="true" />
|
||
</div>
|
||
|
||
<div class="form-group form-md-line-input input-iconright">
|
||
<asp:TextBox ID="TxtObservaciones" CssClass="form-control " runat="server" TextMode="MultiLine" MaxLength="300" CausesValidation="true"></asp:TextBox>
|
||
<%--<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="TxtObservaciones" CssClass="help-block errorimput" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Capacitador''</b> es necesario, por favor ingréselo." ValidationGroup="GrpCurso"></asp:RequiredFieldValidator>--%>
|
||
<label for="<%= TxtObservaciones.ClientID.ToString()%>">Observaciones:</label>
|
||
<i></i>
|
||
</div>
|
||
</div>
|
||
|
||
<div id="DVGvGrupos" runat="server" class="col-md-6" >
|
||
<div class="row col-md-12" style="text-align: right!important; margin-top: 20px!important; margin-bottom: 2px!important">
|
||
|
||
|
||
<div class="row" style="height: 300px!important;" >
|
||
|
||
|
||
<div class="portlet light xspadding bordered" style="height:430px!important">
|
||
<div class="portlet-title">
|
||
<div class="caption font-green">
|
||
<i class="icon-pin font-green"></i>
|
||
<span class="caption-subject bold uppercase">Participantes</span>
|
||
</div>
|
||
<div class="actions">
|
||
<div class="btn-group">
|
||
</div>
|
||
</div>
|
||
|
||
<div class="tools">
|
||
<a href="javascript:;" class="collapse"></a>
|
||
</div>
|
||
</div>
|
||
<div class="portlet-body">
|
||
|
||
<input type="text" id="TxtBusqueda2" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvParticipantes.ClientID) %>" style="display: inline-block; margin-right: -1px; width: 150px; margin-top: 5px!important" />
|
||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvParticipantes.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||
|
||
|
||
<div style="overflow: auto!important;height:350px!important" >
|
||
<asp:GridView ShowHeader="false" ID="GvParticipantes" runat="server" AutoGenerateColumns="False"
|
||
DataKeyNames="CveCursoPersonal,CvePersonal,CveCurso,Correo,Nombres,APaterno,AMaterno,Curso,Capacitador,Tema,Subtema"
|
||
EmptyDataText="No se encontraron datos" ToolTip="" CssClass="table table-advance table-hover Widthall" GridLines="None">
|
||
<Columns>
|
||
<asp:TemplateField HeaderText="En Grupo">
|
||
<ItemTemplate>
|
||
<asp:CheckBox ID="chkGrupo" runat="server"></asp:CheckBox>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Personal" ItemStyle-HorizontalAlign="Left">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="ltlNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
</Columns>
|
||
</asp:GridView>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="modal-footer">
|
||
<asp:Button ID="BtnAgregarCursosModal" runat="server" class="btn btn-success" Text="Agregar" ValidationGroup="GrpCurso" />
|
||
<button id="Button3" runat="server" type="button" class="btn default" data-dismiss="modal">Cancelar</button>
|
||
</div>
|
||
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
<%-- divAsistenciasCurso--%>
|
||
|
||
|
||
<div id="divAsistenciasCurso" class="modal ADS fade" role="dialog">
|
||
<div id="Div1" runat="server" class="modal-dialog" style="width:750px;">
|
||
|
||
<asp:UpdatePanel runat="server" class="modal-content" ID="UpAsistenciasCurso" UpdateMode="Conditional">
|
||
<ContentTemplate>
|
||
<div class="modal-header ">
|
||
<button type="button" class="close" data-dismiss="modal">×</button>
|
||
<h4 class="modal-title">
|
||
<asp:Literal ID="LtlAsistenciaCursoModal" runat="server">Asistencias Cuerso</asp:Literal></h4>
|
||
</div>
|
||
<div class="modal-body">
|
||
|
||
<div class="row col-md-12" style="text-align: right!important; margin-top: 20px!important; margin-bottom: 2px!important">
|
||
<div class="row col-md-12" style="text-align: right!important; margin-top: 20px!important; margin-bottom: 2px!important">
|
||
<input type="text" id="TxtBusquedaAsistencia" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusquedaAsistencia','{0}')", GvAsistenciaCurso.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
|
||
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusquedaAsistencia','{0}')", GvAsistenciaCurso.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
|
||
</div>
|
||
|
||
<asp:GridView ID="GvAsistenciaCurso" ShowHeader="false" runat="server" AutoGenerateColumns="False" DataKeyNames="CveCursoPersonal,CvePersonal,CveCurso,Correo,Nombres,APaterno,AMaterno,Curso,Capacitador,Asistencia,RFC"
|
||
EmptyDataText="No se encontraron datos" ToolTip="Asistencia Curso" CssClass="table table-advance table-hover Widthall" GridLines="None">
|
||
<Columns>
|
||
<asp:TemplateField HeaderText="En Grupo">
|
||
<ItemTemplate>
|
||
<asp:CheckBox ID="chkAsistencia" runat="server"></asp:CheckBox>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="Personal" ItemStyle-HorizontalAlign="Left">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="ltlNombre" runat="server" Text='<%# Eval("Nombre")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField HeaderText="RFC" ItemStyle-HorizontalAlign="Left">
|
||
<ItemTemplate>
|
||
<asp:Literal ID="ltlRFC" runat="server" Text='<%# Eval("RFC")%>'></asp:Literal>
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
<asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Width="40px">
|
||
<ItemTemplate>
|
||
<asp:LinkButton ID="lnkCursoConstancia" OnClick="ImprimirConstancia_Click" Visible ="False" runat="server" AlternateText="Imprimir constancia"
|
||
CausesValidation="False" CssClass="btn btn-circle btn-sm blue" Text="<i class='fa fa-file-text-o'></i>" />
|
||
</ItemTemplate>
|
||
</asp:TemplateField>
|
||
</Columns>
|
||
</asp:GridView>
|
||
</div>
|
||
|
||
</div>
|
||
|
||
<div class="modal-footer">
|
||
<asp:Button ID="BtnAsistenciasCursosModal" runat="server" class="btn btn-success" Text="Guardar" />
|
||
<button id="Button4" runat="server" type="button" class="btn default" data-dismiss="modal">Cancelar</button>
|
||
</div>
|
||
|
||
</ContentTemplate>
|
||
</asp:UpdatePanel>
|
||
</div>
|
||
</div>
|
||
|
||
<asp:LinkButton ID="LnkDescargaInvitados" style="display:none" CssClass="myLink" Text="Descarga" runat="server" ClientIDMode="Static" OnClick="LnkDescargaInvitados_Click"></asp:LinkButton>
|
||
</ContentTemplate>
|
||
<Triggers>
|
||
<asp:PostBackTrigger ControlID="LnkDescargaInvitados" />
|
||
</Triggers>
|
||
</asp:UpdatePanel>
|
||
|
||
</asp:Content>
|
||
<asp:Content ID="Content9" ContentPlaceHolderID="JS" Runat="Server">
|
||
<script src="/Metronic/assets/global/scripts/datatable.js"></script>
|
||
<script src="/Metronic/assets/global/plugins/datatables/all.min.js"></script>
|
||
<script type="text/javascript">
|
||
|
||
|
||
|
||
|
||
function OrdenarGVValores() {
|
||
var Tam = TamañoVentana();
|
||
var Alto = Tam.height - 270;
|
||
if (Alto < 100) {
|
||
Alto = 100;
|
||
}
|
||
$('#C_TabCaracteristicasValores_TabValores_GVValores').DataTable({
|
||
scrollY: Alto + 'px',
|
||
scrollCollapse: true,
|
||
paging: false,
|
||
searching: false,
|
||
info: false
|
||
});
|
||
$('#C_TabCaracteristicasValores_TabValores_GVValores').parent().parent().children().first().css("position", "static");
|
||
}
|
||
|
||
function descargainvitados() {
|
||
$('.myLink')[0].click();
|
||
}
|
||
</script>
|
||
</asp:Content>
|
||
|
||
|