Files
SIG/OI/RepTareas.aspx
JORGE LUIS CAUDILLO ESPARZA e557e57829
2020-05-01 14:25:20 -07:00

652 lines
56 KiB
Plaintext

<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepTareas.aspx.vb" Inherits="OI_RepTareas" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
<style>
.tooltip {
position: fixed !important;
}
</style>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
<li>
<a href="/OI/TareaDetalle.aspx?CveTipoEvento=1"><i class="fa fa-plus"></i>Nueva Tarea</a>
</li>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
Reporte de Tareas
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
<asp:UpdatePanel ID="UPFiltros" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<table style="width: 100%; border: 0; border-spacing: 0;">
<tr class="SubTotales3">
<td>Fecha Inicio:</td>
<td>
<div class="input-group input-small date date-picker" data-date-format="dd/mm/yyyy">
<asp:TextBox ID="txtFechaI" runat="server" CssClass="form-control"></asp:TextBox>
<span class="input-group-btn ">
<asp:LinkButton ID="imgCalendario" runat="server" class="btn default"><i class="fa fa-calendar"></i></asp:LinkButton>
</span>
</div>
<ajax:MaskedEditExtender ID="MEEFechaI" runat="server" TargetControlID="txtFechaI" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left" ErrorTooltipEnabled="True"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="Calendario" TargetControlID="txtFechaI" PopupButtonID="ImgCalendario" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<asp:RequiredFieldValidator ID="rfvFechaI" runat="server" ControlToValidate="txtFechaI" Display="None" ErrorMessage="El campo <b>''Fecha Inicial''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="cvFechaI" runat="server" ControlToValidate="txtFechaI" Display="None" ErrorMessage="El campo <b>''Fecha Inicial''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Valida"></asp:CompareValidator>
<ajax:ValidatorCalloutExtender ID="vcoFfvFI" runat="server" HighlightCssClass="vco" TargetControlID="rfvFechaI" Width="350px"></ajax:ValidatorCalloutExtender>
<ajax:ValidatorCalloutExtender ID="vcoCvFI" runat="server" HighlightCssClass="vco" TargetControlID="cvFechaI" Width="350px"></ajax:ValidatorCalloutExtender>
</td>
<td>Fecha Fin:
</td>
<td>
<div class="input-group input-small date date-picker" data-date-format="dd/mm/yyyy">
<asp:TextBox ID="txtFechaF" runat="server" CssClass="form-control"></asp:TextBox>
<span class="input-group-btn ">
<asp:LinkButton ID="imgCalendarioF" runat="server" class="btn default"><i class="fa fa-calendar"></i></asp:LinkButton>
</span>
</div>
<ajax:MaskedEditExtender ID="MEEFechaF" runat="server" TargetControlID="txtFechaF" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="Calendario2" TargetControlID="txtFechaF" PopupButtonID="imgCalendarioF" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<asp:RequiredFieldValidator ID="rfvFechaF" runat="server" ControlToValidate="txtFechaF" Display="None" ErrorMessage="El campo <b>''Fecha Final''</b> es requerido por la aplicación, por favor ingrese una fecha." ValidationGroup="Valida"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="cvFechaF" runat="server" ControlToValidate="txtFechaF" Display="None" ErrorMessage="El campo <b>''Fecha Final''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Valida"></asp:CompareValidator>
<ajax:ValidatorCalloutExtender ID="vcoRfvFF" runat="server" HighlightCssClass="vco" TargetControlID="rfvFechaF" Width="350px"></ajax:ValidatorCalloutExtender>
<ajax:ValidatorCalloutExtender ID="vcoCvFF" runat="server" HighlightCssClass="vco" TargetControlID="cvFechaF" Width="350px"></ajax:ValidatorCalloutExtender>
</td>
<td>Estatus:</td>
<td>
<asp:DropDownList ID="DdlEventoEstatus" runat="server" AppendDataBoundItems="true" DataTextField="EventoEstatus" DataValueField="CveEventoEstatus" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 150px !important;" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
</td>
<td>Revisión:</td>
<td>
<asp:DropDownList ID="DdlRevision" runat="server" AppendDataBoundItems="true" DataTextField="Revision" DataValueField="CveRevision" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 150px !important;" ValidationGroup="GrpGuardar">
<asp:ListItem Selected="True" Text="Todos" Value="-1"></asp:ListItem>
<asp:ListItem Text="Sin Revisión" Value="-2"></asp:ListItem>
</asp:DropDownList>
</td>
<td>
<asp:Button ID="BtnConsultar" runat="server" Text="Consultar" class="btn btn-default" />
</td>
<td>
<asp:Button ID="BtnEscritorio" runat="server" Text="Escritorio" class="btn btn-default" />
</td>
</tr>
</table>
<asp:Timer runat="server" ID="TimmerRefresh" Interval="300000" OnTick="TimmerRefresh_Tick"></asp:Timer>
</ContentTemplate>
</asp:UpdatePanel>
<br />
<div>
<table width="100%">
<tr>
<td align="right" >
<asp:UpdatePanel runat="server">
<ContentTemplate>
<code>
<asp:Literal Text="" runat="server" ID="LtActualizado" />
</code>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td>
<asp:UpdatePanel runat="server">
<ContentTemplate>
<ajax:TabContainer ID="Tab" runat="server" Width="100%">
<ajax:TabPanel ID="TabPanelAsignaron" runat="server">
<HeaderTemplate>
Me Asignaron
<asp:Literal Text="" ID="LtBurbujitaAsignaronPendientes" runat="server" />
<asp:Literal Text="" ID="LtBurbujitaAsignaronAtendiendo" runat="server" />
</HeaderTemplate>
<ContentTemplate>
<div class="text-right">
<input type="text" id="TxtBusqueda1" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda1','{0}')", GvDatosOIEventosTareasAsignaron.ClientID) %>" style="display: inline-block;margin-right: -20px; width: 150px;" />
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda1','{0}')", GvDatosOIEventosTareasAsignaron.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info" ><i class="icon-magnifier"></i></a>
</div>
<table class="table Widthall">
<thead>
<tr class="Titulos">
<th width="40px">
<asp:LinkButton ID="LbFolio" runat="server" CausesValidation="False" Text="" CommandArgument="Folio0;0" OnClick="LbOrden_Click">
Folio
<asp:Literal ID="ImgFolio0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="200px">
<asp:LinkButton ID="LbDe" runat="server" CausesValidation="False" Text="" CommandArgument="UsuarioDe0;0" OnClick="LbOrden_Click">
De
<asp:Literal ID="ImgUsuarioDe0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="200px">
<asp:LinkButton ID="LbAsunto" runat="server" CausesValidation="False" Text="" CommandArgument="Asunto0;0" OnClick="LbOrden_Click">
Asunto
<asp:Literal ID="ImgAsunto0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<%--<th width="150px">
<asp:LinkButton ID="LbComentario" runat="server" CausesValidation="False" Text="" CommandArgument="Comentario0;0" OnClick="LbOrden_Click">
Comentario
<asp:Literal ID="ImgComentario0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>--%>
<th width="80px">
<asp:LinkButton ID="LbPrioridad" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LbOrden_Click">
Prioridad
<asp:Literal ID="ImgPrioridad0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<%--<th width="80px">
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
Tema
<asp:Literal ID="Literal1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>--%>
<th width="80px">
<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
Fecha Inicio
<asp:Literal ID="Literal2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="80px">
<asp:LinkButton ID="LinkButton3" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
Fecha Fin
<asp:Literal ID="Literal3" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<%--<th width="50px">
<asp:LinkButton ID="LbOrden" runat="server" CausesValidation="False" Text="" CommandArgument="Orden0;0" OnClick="LbOrden_Click">
Orden
<asp:Literal ID="ImgOrden0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>--%>
<th width="150px">
<asp:LinkButton ID="LbRevision" runat="server" CausesValidation="False" Text="" CommandArgument="Revision0;0" OnClick="LbOrden_Click">
Tema
<asp:Literal ID="ImgRevision0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="80px">
<asp:LinkButton ID="LbFechaIng" runat="server" CausesValidation="False" Text="" CommandArgument="FechaIng0;0" OnClick="LbOrden_Click">
Fecha
<asp:Literal ID="ImgFechaIng0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="80px">
<asp:LinkButton ID="LbEventoEstatus" runat="server" CausesValidation="False" Text="" CommandArgument="EventoEstatus0;0" OnClick="LbOrden_Click">
Estatus
<asp:Literal ID="ImgEventoEstatus0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<%--<th width="100px" runat="server" id="ThEmpresa" visible="false">
<asp:LinkButton ID="LbEmpresa" runat="server" CausesValidation="False" Text="" CommandArgument="Empresa;0" OnClick="LbOrden_Click">
Empresa
<asp:Literal ID="ImgEmpresa0" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>--%>
</tr>
</thead>
</table>
<asp:UpdatePanel ID="UPDatosOIEventosTareasAsignaron" style="overflow-y:auto;" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GvDatosOIEventosTareasAsignaron" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="false" CssClass="table table-hover Widthall" Style="margin-top: -5px; text-align: center;" GridLines="None">
<Columns>
<asp:TemplateField ItemStyle-Width="40">
<ItemTemplate>
<asp:Literal ID="LtlFolio" runat="server" Text='<%# Eval("Folio")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="200">
<ItemTemplate>
<asp:Literal ID="LtlUsuarioDe" runat="server" Text='<%# Eval("UsuarioDe")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="200">
<ItemTemplate>
<asp:Literal ID="LtlAsunto" runat="server" Text='<%# Eval("Asunto")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<%--<asp:TemplateField ItemStyle-Width="150">
<ItemTemplate>
<asp:Literal ID="LtlComentario" runat="server" Text='<%# Eval("Comentario")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>--%>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlPrioridad" runat="server" Text='<%# Eval("Prioridad")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<%--<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlRevision" runat="server" Text='<%# Eval("Revision")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>--%>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlFI" runat="server" Text='<%# Eval("FechaInicio", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlFF" runat="server" Text='<%# Eval("FechaFin", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<%--<asp:TemplateField ItemStyle-Width="50">
<ItemTemplate>
<asp:Literal ID="LtlOrden" runat="server" Text='<%# Eval("Orden", "{0:N0}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>--%>
<asp:TemplateField ItemStyle-Width="150">
<ItemTemplate>
<asp:Literal ID="LtlRevision" runat="server" Text='<%# Eval("Revision")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlFechaIng" runat="server" Text='<%# Eval("FechaIng", "{0:dd/MM/yyyy}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlEventoEstatus" runat="server" Text='<%# Eval("EventoEstatus")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<%--<asp:TemplateField ItemStyle-Width="100" Visible="false">
<ItemTemplate>
<asp:Literal ID="LtlEmpresa" runat="server" Text='<%# Eval("Empresa")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>--%>
</Columns>
<AlternatingRowStyle CssClass="TextoAlterno" />
<RowStyle CssClass="Texto" />
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</ajax:TabPanel>
<ajax:TabPanel ID="TabPanelCCP" runat="server">
<HeaderTemplate>
CCP
<asp:Literal Text="" ID="LtBurbujitaCCPPendientes" runat="server" />
<asp:Literal Text="" ID="LtBurbujitaCCPAtendiendo" runat="server" />
</HeaderTemplate>
<ContentTemplate>
<div class="text-right">
<input type="text" id="TxtBusqueda2" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvDatosOIEventosTareasCCP.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda2','{0}')", GvDatosOIEventosTareasCCP.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
</div>
<table class="table table-striped table-advance table-hover Widthall">
<thead>
<tr class="Titulos">
<th width="40px">
<asp:LinkButton ID="LbFolio1" runat="server" CausesValidation="False" Text="" CommandArgument="Folio1;1" OnClick="LbOrden_Click">
Folio
<asp:Literal ID="ImgFolio1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="150px">
<asp:LinkButton ID="LbDe1" runat="server" CausesValidation="False" Text="De" CommandArgument="UsuarioDe1;1" OnClick="LbOrden_Click">
<asp:Literal ID="ImgUsuarioDe1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="150px">
<asp:LinkButton ID="LbPara1" runat="server" CausesValidation="False" Text="Para" CommandArgument="UsuarioPara1;1" OnClick="LbOrden_Click">
<asp:Literal ID="ImgPara1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="150px">
<asp:LinkButton ID="LbAsunto1" runat="server" CausesValidation="False" Text="Asunto" CommandArgument="Asunto1;1" OnClick="LbOrden_Click">
<asp:Literal ID="ImgAsunto1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="120px">
<asp:LinkButton ID="LbPrioridad1" runat="server" CausesValidation="False" Text="Prioridad" CommandArgument="Prioridad1;1" OnClick="LbOrden_Click">
<asp:Literal ID="ImgPrioridad1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<%--<th width="120px">
<asp:LinkButton ID="LbOrden1" runat="server" CausesValidation="False" Text="Orden" CommandArgument="Orden1;1" OnClick="LbOrden_Click">
<asp:Literal ID="ImgOrden1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>--%>
<th width="80px">
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
Fecha Inicio
<asp:Literal ID="Literal1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="80px">
<asp:LinkButton ID="LinkButton4" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
Fecha Fin
<asp:Literal ID="Literal4" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="120px">
<asp:LinkButton ID="LbRevision1" runat="server" CausesValidation="False" Text="Tema" CommandArgument="Revision1;1" OnClick="LbOrden_Click">
<asp:Literal ID="ImgRevision1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="150px">
<asp:LinkButton ID="LbFechaIng1" runat="server" CausesValidation="False" Text="Fecha" CommandArgument="FechaIng1;1" OnClick="LbOrden_Click">
<asp:Literal ID="ImgFechaIng1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="100px">
<asp:LinkButton ID="LbEventoEstatus1" runat="server" CausesValidation="False" Text="Estatus" CommandArgument="EventoEstatus1;1" OnClick="LbOrden_Click">
<asp:Literal ID="ImgEventoEstatus1" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
</tr>
</thead>
</table>
<asp:UpdatePanel ID="UPDatosOIEventosTareasCCP" runat="server" style="overflow-y:auto;" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GvDatosOIEventosTareasCCP" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="false" CssClass="table table-striped table-advance table-hover Widthall" Style="margin-top: -10px; text-align: center;" GridLines="None">
<Columns>
<asp:TemplateField ItemStyle-Width="40">
<ItemTemplate>
<asp:Literal ID="LtlFolio" runat="server" Text='<%# Eval("Folio")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="150">
<ItemTemplate>
<asp:Literal ID="LtlUsuarioDe" runat="server" Text='<%# Eval("UsuarioDe")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="150">
<ItemTemplate>
<asp:Literal ID="LtlUsuarioPara" runat="server" Text='<%# Eval("UsuarioPara")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="150">
<ItemTemplate>
<asp:Literal ID="LtlAsunto" runat="server" Text='<%# Eval("Asunto")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="120">
<ItemTemplate>
<asp:Literal ID="LtlPrioridad" runat="server" Text='<%# Eval("Prioridad")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<%--<asp:TemplateField ItemStyle-Width="120">
<ItemTemplate>
<asp:Literal ID="LtlOrden" runat="server" Text='<%# Eval("Orden", "{0:N0}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>--%>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlFI" runat="server" Text='<%# Eval("FechaInicio", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlFF" runat="server" Text='<%# Eval("FechaFin", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="120">
<ItemTemplate>
<asp:Literal ID="LtlRevision" runat="server" Text='<%# Eval("Revision")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="150">
<ItemTemplate>
<asp:Literal ID="LtlFechaIng" runat="server" Text='<%# Eval("FechaIng", "{0:dd/MM/yyyy}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="100">
<ItemTemplate>
<asp:Literal ID="LtlEventoEstatus" runat="server" Text='<%# Eval("EventoEstatus")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<AlternatingRowStyle CssClass="TextoAlterno" />
<RowStyle CssClass="Texto" />
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</ajax:TabPanel>
<ajax:TabPanel ID="TabPanelAsigne" runat="server">
<HeaderTemplate>
Que Asigné
<asp:Literal Text="" ID="LtBurbujitaAsignePendientes" runat="server" />
<asp:Literal Text="" ID="LtBurbujitaAsigneAtendiendo" runat="server" />
</HeaderTemplate>
<ContentTemplate>
<div class="text-right">
<input type="text" id="TxtBusqueda3" class="form-control input-sm" onkeyup="<%= String.Format("FiltrarTabla('TxtBusqueda3','{0}')", GvDatosOIEventosTareasAsigne.ClientID) %>" style="display: inline-block; margin-right: -20px; width: 150px;" />
<a href="javascript:;" onclick="<%= String.Format("FiltrarTabla('TxtBusqueda3','{0}')", GvDatosOIEventosTareasAsigne.ClientID) %>" style="margin-top: -3px;" class="btn btn-circle btn-sm label-info"><i class="icon-magnifier"></i></a>
</div>
<table class="table table-striped table-advance table-hover Widthall">
<thead>
<tr class="Titulos">
<th width="40px">
<asp:LinkButton ID="LbFolio2" runat="server" CausesValidation="False" Text="Folio" CommandArgument="Folio2;2" OnClick="LbOrden_Click">
<asp:Literal ID="ImgFolio2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="200px">
<asp:LinkButton ID="LbDe2" runat="server" CausesValidation="False" Text="" CommandArgument="UsuarioPara2;2" OnClick="LbOrden_Click">
A Quién
<asp:Literal ID="ImgUsuarioPara2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton></th>
<th width="200px">
<asp:LinkButton ID="LbAsunto2" runat="server" CausesValidation="False" Text="" CommandArgument="Asunto2;2" OnClick="LbOrden_Click">
Asunto
<asp:Literal ID="ImgAsunto2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton></th>
<th width="120px">
<asp:LinkButton ID="LbPrioridad2" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad2;2" OnClick="LbOrden_Click">
Prioridad
<asp:Literal ID="ImgPrioridad2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton></th>
<%-- <th width="120px">
<asp:LinkButton ID="LbOrden2" runat="server" CausesValidation="False" Text="" CommandArgument="Orden2;2" OnClick="LbOrden_Click">
Orden
<asp:Literal ID="ImgOrden2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton></th>--%>
<th width="80px">
<asp:LinkButton ID="LinkButton5" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
Fecha Inicio
<asp:Literal ID="Literal5" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="80px">
<asp:LinkButton ID="LinkButton6" runat="server" CausesValidation="False" Text="" CommandArgument="Prioridad0;0" OnClick="LinkButton1_Click">
Fecha Fin
<asp:Literal ID="Literal6" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton>
</th>
<th width="120px">
<asp:LinkButton ID="LbRevision2" runat="server" CausesValidation="False" Text="" CommandArgument="Revision2;2" OnClick="LbOrden_Click">
Tema
<asp:Literal ID="ImgRevision2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton></th>
<th width="150px">
<asp:LinkButton ID="LbFechaIng2" runat="server" CausesValidation="False" Text="" CommandArgument="FechaIng2;2" OnClick="LbOrden_Click">
Fecha
<asp:Literal ID="ImgFechaIng2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton></th>
<th width="100px">
<asp:LinkButton ID="LbEventoEstatus2" runat="server" CausesValidation="False" Text="" CommandArgument="EventoEstatus2;2" OnClick="LbOrden_Click">
Estatus
<asp:Literal ID="ImgEventoEstatus2" runat="server" Text=" <i class='fa fa-sort' style='color:#999' ></i>"></asp:Literal>
</asp:LinkButton></th>
</tr>
</thead>
</table>
<asp:UpdatePanel ID="UPDatosOIEventosTareasAsigne" style="overflow-y:auto;" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GvDatosOIEventosTareasAsigne" runat="server" AutoGenerateColumns="False" EmptyDataText="No se encontraron Registros" ShowHeader="false" CssClass="table table-striped table-advance table-hover Widthall" Style="margin-top: -10px; text-align: center;" GridLines="None">
<Columns>
<asp:TemplateField ItemStyle-Width="40">
<ItemTemplate>
<asp:Literal ID="LtlFolio" runat="server" Text='<%# Eval("Folio")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="200">
<ItemTemplate>
<asp:Literal ID="LtlUsuarioPara" runat="server" Text='<%# Eval("UsuarioPara")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="200">
<ItemTemplate>
<asp:Literal ID="LtlAsunto" runat="server" Text='<%# Eval("Asunto")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="120">
<ItemTemplate>
<asp:Literal ID="LtlPrioridad" runat="server" Text='<%# Eval("Prioridad")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<%--<asp:TemplateField ItemStyle-Width="120">
<ItemTemplate>
<asp:Literal ID="LtlOrden" runat="server" Text='<%# Eval("Orden", "{0:N0}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>--%>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlFI" runat="server" Text='<%# Eval("FechaInicio", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="80">
<ItemTemplate>
<asp:Literal ID="LtlFF" runat="server" Text='<%# Eval("FechaFin", "{0:dd/MM/yyyy HH}:{0:MM}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="120">
<ItemTemplate>
<asp:Literal ID="LtlRevision" runat="server" Text='<%# Eval("Revision")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="150">
<ItemTemplate>
<asp:Literal ID="LtlFechaIng" runat="server" Text='<%# Eval("FechaIng", "{0:dd/MM/yyyy}")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-Width="100">
<ItemTemplate>
<asp:Literal ID="LtlEventoEstatus" runat="server" Text='<%# Eval("EventoEstatus")%>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<AlternatingRowStyle CssClass="TextoAlterno" />
<RowStyle CssClass="Texto" />
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</ContentTemplate>
</ajax:TabPanel>
</ajax:TabContainer>
</ContentTemplate>
</asp:UpdatePanel>
</td>
<%--Comentado 24 Noviembre, paso a segundo termino--%>
<%--<td style="width: 200px; vertical-align: top">
<br />
<fieldset style="width: 100%">
<legend>Vista Previa</legend>
<asp:UpdatePanel runat="server" ID="uppPrevio" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button ID="btnPrevio" runat="server" Style="display: none" ClientIDMode="Static" class="btn btn-primary" />
<asp:HiddenField ID="hdnCveEvento" runat="server" ClientIDMode="Static" />
<table width="100%">
<tr>
<td>Para:</td>
<td>
<asp:Label ID="lblUsuarioPara" runat="server"></asp:Label></td>
</tr>
<tr>
<td>De:</td>
<td>
<asp:Label ID="lblUsuarioDe" runat="server"></asp:Label></td>
</tr>
<tr>
<td colspan="2">Observaciones:</td>
</tr>
<tr>
<td colspan="2">
<asp:GridView ID="gvObservaciones" runat="server" Width="100%" AutoGenerateColumns="False" EmptyDataText="Sin Observaciones" CssClass="table table-striped table-advance table-hover" Style="margin-top: -10px; text-align: center;" GridLines="None">
<Columns>
<asp:BoundField DataField="FechaIng" DataFormatString="{0:d}" HeaderText="Fecha">
<ItemStyle Width="90px" HorizontalAlign="Center" />
</asp:BoundField>
<asp:BoundField DataField="NombreUsuario" DataFormatString="&nbsp;{0}" HeaderText="Usuario"></asp:BoundField>
<asp:BoundField DataField="EventoComentario" DataFormatString="&nbsp;{0}" HeaderText="Observación"></asp:BoundField>
</Columns>
</asp:GridView>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</fieldset>
</td>--%>
</tr>
</table>
</div>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
<style type="text/css">
.Row {
position: absolute;
visibility: hidden;
background-color: #F5F7F8;
opacity: .9;
filter: alpha(opacity=90);
}
</style>
<script type="text/javascript">
function Previo(CveEvento) {
$get('hdnCveEvento').value = CveEvento;
$get('btnPrevio').click();
}
function settamaños() {
var tamaño = $(window).height() - 350;
$('#<%= UPDatosOIEventosTareasAsignaron.ClientID() %>').css({ "max-height": tamaño+"px"});
$('#<%= UPDatosOIEventosTareasCCP.ClientID() %>').css({ "max-height": tamaño + "px" });
$('#<%= UPDatosOIEventosTareasAsigne.ClientID() %>').css({ "max-height": tamaño + "px" });
}
$(document).ready(function () {
settamaños();
});
Sys.Application.add_load(function (s, e) {
$(document).ready(function () {
$('[data-toggle="tooltip"]').tooltip();
});
settamaños();
});
</script>
</asp:Content>