Files
SIG/OI/PopUpAgenda.aspx
JORGE LUIS CAUDILLO ESPARZA c35cf91883 Commit inicial Ventas Productivo
2019-08-14 16:40:54 -07:00

355 lines
31 KiB
Plaintext

<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="PopUpAgenda.aspx.vb" Inherits="OI_PopUpAgenda" %>
<%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HB" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="E" runat="Server">
<asp:Literal ID="LtlTitulo" runat="server" Text="Agendar a "></asp:Literal>&nbsp;<asp:Literal ID="LtlAgenda" runat="server"></asp:Literal>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td style="vertical-align: top;">
<table border="0px" width="100%">
<tr id="TrAsunto" style="vertical-align: top; text-align: left;" visible="false" runat="server">
<td class="">Asunto:</td>
<td colspan="3">
<asp:TextBox ID="TxtAsunto" runat="server" MaxLength="100" ValidationGroup="Guarda" Width="375px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RFVAsunto" runat="server" ControlToValidate="TxtAsunto" Display="None" ErrorMessage="El campo <b>''Asunto''</b> es necesario, por favor ingréselo." ValidationGroup="Guarda"></asp:RequiredFieldValidator>
<ajax:ValidatorCalloutExtender ID="VCOAsunto" runat="server" TargetControlID="RFVAsunto" HighlightCssClass="vco" Width="250px"></ajax:ValidatorCalloutExtender>
</td>
</tr>
<tr id="TrDescripcion" visible="false" style="vertical-align: top; text-align: left;" runat="server">
<td class="">Descripción:</td>
<td colspan="3">
<asp:TextBox ID="TxtDescripcion" runat="server" MaxLength="500" TextMode="MultiLine" Height="50px" Width="520px"></asp:TextBox>
<asp:RequiredFieldValidator ID="rfvDescripcion" runat="server" ControlToValidate="txtDescripcion" Display="None" ErrorMessage="El campo <b>''Descripción''</b> es necesario, por favor ingréselo." ValidationGroup="Guarda"></asp:RequiredFieldValidator>
<ajax:ValidatorCalloutExtender ID="vcoDescripcion" runat="server" TargetControlID="rfvDescripcion" HighlightCssClass="vco" Width="300px"></ajax:ValidatorCalloutExtender>
</td>
</tr>
<tr style="vertical-align: top; text-align: left;" id="trDe" runat="server" visible="False">
<td class="">De:</td>
<td>
<asp:Label ID="LblDe" runat="server" Text=""></asp:Label></td>
<td>Para:</td>
<td>
<asp:Label ID="LblPara" runat="server" Text=""></asp:Label></td>
</tr>
<tr style="vertical-align: top; text-align: left;" id="trCCP" runat="server" visible="False">
<td class="">CCP:</td>
<td colspan="3">
<asp:Label ID="LblCCP" runat="server" Text=""></asp:Label></td>
</tr>
<tr id="TrPrioridad" visible="false" style="vertical-align: top; text-align: left;" runat="server">
<td class="">Prioridad:</td>
<td colspan="3">
<asp:DropDownList ID="DdlPrioridad" runat="server" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 136px !important;">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
<asp:ListItem Text="Baja" Value="1" Style="color: #00CC00;"></asp:ListItem>
<asp:ListItem Text="Media" Value="2" Style="color: #000000;"></asp:ListItem>
<asp:ListItem Text="Alta" Value="3" Style="color: #FF0000;"></asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RFVPrioridad" runat="server" ControlToValidate="DdlPrioridad" Display="None" ErrorMessage="El campo <b>''Prioridad''</b> es necesario, por favor seleccione uno." InitialValue="-1" ValidationGroup="Guarda"></asp:RequiredFieldValidator>
<ajax:ValidatorCalloutExtender ID="VCOPrio" runat="server" TargetControlID="RFVPrioridad" HighlightCssClass="vco" Width="300px"></ajax:ValidatorCalloutExtender>
</td>
</tr>
<tr id="TrFechaInicio" visible="false" style="vertical-align: top; text-align: left;" runat="server">
<td class="">Fecha Inicio:</td>
<td colspan="3">
<asp:TextBox ID="TxtFechaInicio" runat="server" MaxLength="30" ValidationGroup="Guarda" Width="80px"></asp:TextBox>&nbsp;
<asp:ImageButton runat="server" ID="ImgCalendario" ImageUrl="/imagenes/icono_calendaro.png" ImageAlign="AbsMiddle" Width="16px" Height="16px" AlternateText="Click para ver el Calendario" />
<ajax:MaskedEditExtender ID="MEEFechaInicio" runat="server" TargetControlID="TxtFechaInicio" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="Calendario" TargetControlID="TxtFechaInicio" PopupButtonID="ImgCalendario" Format="dd/MM/yyyy" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<asp:RequiredFieldValidator ID="RFVFechaInicio" runat="server" ControlToValidate="TxtFechaInicio" Display="None" ErrorMessage="El campo <b>''Fecha Inicio''</b> es requerido por la aplicación, por favor ingrese una Fecha Inicio." ValidationGroup="Guarda"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CVFechaInicio" runat="server" ControlToValidate="TxtFechaInicio" Display="None" ErrorMessage="El campo <b>''FechaInicio''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Guarda"></asp:CompareValidator>
<ajax:ValidatorCalloutExtender ID="VCOFfvFI" runat="server" HighlightCssClass="VCO" TargetControlID="RFVFechaInicio" Width="250px"></ajax:ValidatorCalloutExtender>
<ajax:ValidatorCalloutExtender ID="VCOCVFI" runat="server" HighlightCssClass="VCO" TargetControlID="CVFechaInicio" Width="250px"></ajax:ValidatorCalloutExtender>
Hora:&nbsp;
<ew:TimePicker ID="TxtHoraInicio" runat="server" ControlDisplay="TextBoxImage" ImageUrl="/Imagenes/tool_timer.png" PopupWidth="100px" Width="50px" DisableTextBoxEntry="True" PopupHeight="150px" RoundUpMinutes="True" MilitaryTime="True" Culture="Spanish (Mexico)" LowerBoundTime="07:00" UpperBoundTime="20:30">
<TimeStyle CssClass="Texto" />
</ew:TimePicker>
<ew:CustomValidator ID="CVHoraInicio" runat="server" ClientValidationFunction="RevisaHora" ControlToValidate="TxtHoraInicio" Display="None" ErrorMessage="El campo <b>''Hora''</b> es necesario, por favor seleccione la hora correcta." ValidationGroup="Guardar" ValidateEmptyText="true"></ew:CustomValidator>
<ajax:ValidatorCalloutExtender ID="VcoHoraInicio" runat="server" HighlightCssClass="vco" TargetControlID="CVHoraInicio" Width="300px"></ajax:ValidatorCalloutExtender>
<asp:CompareValidator ID="CVFechas" runat="server" ControlToCompare="TxtFechaInicio" CultureInvariantValues="true" Display="Dynamic" EnableClientScript="true" ControlToValidate="TxtFechaFin" ErrorMessage="La fecha de Inicio fecha debe ser anterior a la fecha fin " Type="Date" SetFocusOnError="true" Operator="GreaterThanEqual" Text="La fecha de inicio debe ser anterior a la fecha fin"> </asp:CompareValidator>
</td>
</tr>
<tr id="TrFechaFin" visible="false" runat="server" style="vertical-align: top; text-align: left;" runat="server">
<td class="">Fecha Fin:</td>
<td colspan="3">
<asp:TextBox ID="TxtFechaFin" runat="server" MaxLength="30" ValidationGroup="Guarda" Width="70px"></asp:TextBox>&nbsp;
<asp:ImageButton runat="server" ID="ImgCalFechaFin" ImageUrl="/imagenes/icono_calendaro.png" ImageAlign="AbsMiddle" Width="16px" Height="16px" AlternateText="Click para ver el Calendario" />
<ajax:MaskedEditExtender ID="MEEFechaFin" runat="server" TargetControlID="TxtFechaFin" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="CEFechaFin" TargetControlID="TxtFechaFin" PopupButtonID="ImgCalFechaFin" Format="dd/MM/yyyy" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<asp:RequiredFieldValidator ID="RFVFechaFin" runat="server" ControlToValidate="TxtFechaFin" Display="None" ErrorMessage="El campo <b>''Fecha Fin''</b> es requerido por la aplicación, por favor ingrese una Fecha Fin." ValidationGroup="Guarda"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CVFechaFin" runat="server" ControlToValidate="TxtFechaFin" Display="None" ErrorMessage="El campo <b>''Fecha Fin''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Guarda"></asp:CompareValidator>
<ajax:ValidatorCalloutExtender ID="VCEFechaFin1" runat="server" HighlightCssClass="VCO" TargetControlID="RFVFechaFin" Width="250px"></ajax:ValidatorCalloutExtender>
<ajax:ValidatorCalloutExtender ID="VCEFechaFin2" runat="server" HighlightCssClass="VCO" TargetControlID="CVFechaFin" Width="250px"></ajax:ValidatorCalloutExtender>
Hora:&nbsp;
<ew:TimePicker ID="TxtHoraFin" runat="server" ControlDisplay="TextBoxImage" ImageUrl="/Imagenes/tool_timer.png" PopupWidth="100px" Width="50px" DisableTextBoxEntry="True" PopupHeight="150px" RoundUpMinutes="True" MilitaryTime="True" Culture="Spanish (Mexico)" LowerBoundTime="07:00" UpperBoundTime="20:30">
<TimeStyle CssClass="Texto" />
</ew:TimePicker>
<ew:CustomValidator ID="CVHoraFin" runat="server" ClientValidationFunction="RevisaHora" ControlToValidate="TxtHoraFin" Display="None" ErrorMessage="El campo <b>''Hora''</b> es necesario, por favor seleccione la hora correcta." ValidationGroup="Guardar" ValidateEmptyText="true"></ew:CustomValidator>
<ajax:ValidatorCalloutExtender ID="VcoHoraFin" runat="server" HighlightCssClass="vco" TargetControlID="CVHoraFin" Width="300px"></ajax:ValidatorCalloutExtender>
</td>
</tr>
<tr id="TrFechaRealTermino" visible="false" runat="server" style="vertical-align: top; text-align: left;">
<td class="">Fecha Real de Término:</td>
<td colspan="3">
<asp:TextBox ID="TxtFechaRealTermino" runat="server" MaxLength="30" ValidationGroup="Guarda" Width="70px"></asp:TextBox>&nbsp;
<asp:ImageButton runat="server" ID="ImgCalFechaRealTermino" ImageUrl="/imagenes/icono_calendaro.png" ImageAlign="AbsMiddle" Width="16px" Height="16px" AlternateText="Click para ver el Calendario" />
<ajax:MaskedEditExtender ID="MEEFechaRealTermino" runat="server" TargetControlID="TxtFechaRealTermino" Mask="99/99/9999" MaskType="Date" DisplayMoney="Left" AcceptNegative="Left"></ajax:MaskedEditExtender>
<ajax:CalendarExtender runat="server" ID="CEFechaRealTermino" TargetControlID="TxtFechaRealTermino" PopupButtonID="ImgCalFechaRealTermino" Format="dd/MM/yyyy" PopupPosition="BottomRight" Enabled="True"></ajax:CalendarExtender>
<%--<asp:RequiredFieldValidator ID="RFVFechaRealTermino" runat="server" ControlToValidate="TxtFechaRealTermino" Display="None" ErrorMessage="El campo <b>''Fecha Real de Término''</b> es requerido por la aplicación, por favor ingrese una Fecha Real de Término." ValidationGroup="Guarda"></asp:RequiredFieldValidator>--%>
<asp:CompareValidator ID="CVFechaRealTermino" runat="server" ControlToValidate="TxtFechaRealTermino" Display="None" ErrorMessage="El campo <b>''Fecha Real de Término''</b> no tienes el formato correcto, por favor intente de nuevo con el siguiente formato: (dd/mm/yyyy)." Operator="DataTypeCheck" Type="Date" ValidationGroup="Guarda"></asp:CompareValidator>
<%--<ajax:ValidatorCalloutExtender ID="VCEFechaRealTermino1" runat="server" HighlightCssClass="VCO" TargetControlID="RFVFechaRealTermino" Width="250px"></ajax:ValidatorCalloutExtender>--%>
<ajax:ValidatorCalloutExtender ID="VCEFechaRealTermino2" runat="server" HighlightCssClass="VCO" TargetControlID="CVFechaRealTermino" Width="250px"></ajax:ValidatorCalloutExtender>
</td>
</tr>
<tr id="TrRevision" visible="false" runat="server" style="vertical-align: top; text-align: left;">
<td class="">Revisión:</td>
<td colspan="3">
<asp:DropDownList ID="DdlRevision" runat="server" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 136px !important;" DataValueField="CveRevision" DataTextField="Revision">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr id="TrAgendaTipo" visible="false" runat="server" style="vertical-align: top; text-align: left;">
<td class="">Agenda Tipo:</td>
<td colspan="3">
<asp:DropDownList ID="DdlAgendaTipo" runat="server" Class="table-group-action-input form-control input-inline input-small input-sm" Style="width: 136px !important;" DataValueField="CveAgendaTipo" DataTextField="AgendaTipo">
<asp:ListItem Selected="True" Text="Seleccione" Value="-1"></asp:ListItem>
</asp:DropDownList>
</td>
</tr>
<tr id="TrTipoReferencia" visible="false" style="vertical-align: top; text-align: left;" runat="server">
<td class="">Tipo de Referencia:</td>
<td colspan="3">
<asp:TextBox ID="TxtTipoReferencia" runat="server" MaxLength="5" ValidationGroup="Guarda" Width="75px"></asp:TextBox>
</td>
</tr>
<tr id="TrReferencia" visible="false" style="vertical-align: top; text-align: left;" runat="server">
<td class="">Referencia:</td>
<td colspan="3">
<asp:TextBox ID="TxtReferencia" runat="server" MaxLength="50" ValidationGroup="Guarda" Width="250px"></asp:TextBox>
</td>
</tr>
<%--ARCHIVO--%>
<tr id="TrArchivo" visible="false" runat="server" style="vertical-align: top; text-align: left;">
<td class="">Archivo</td>
<td colspan="3">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:UpdatePanel ID="UPAFUL" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:TextBox ID="TxtArchivo" runat="server"></asp:TextBox>
<asp:Button ID="BtnCargarArchivo" runat="server" ClientIDMode="Static" Style="display: none;" class="btn btn-primary" />
<asp:Button ID="BtnEliminarImagen" runat="server" ClientIDMode="Static" Style="display: none;" class="btn btn-primary" />
<asp:HiddenField ID="HdnCveImagen" runat="server" Value="-1" ClientIDMode="Static" />
<asp:HiddenField ID="HdnURL" runat="server" Value="-1" ClientIDMode="Static" />
<%--<cc2:fileuploaderajax id="FUAImagen" runat="server" maxfiles="1" text_uploading="Guardando..." file_renameifalreadyexists="False" text_x="Ocultar" text_Add="Mostrar" text_Delete="Eliminar" />--%>
<a id="LnkUpload" runat="server" clientidmode="Static" class="Texto thickbox" href="/Planeacion/CargarArchivo.aspx?TB_iframe=true&height=210&width=350">Cargar Archivo</a>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td>
<ul id="myGallery" runat="server" clientidmode="Static">
</ul>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<%--USUARIO DE--%>
<%--USUARIO PARA--%>
<td id="TdUsuarios" runat="server" visible="false">
<table width="350px" border="0" cellspacing="0">
<tr style="height: 25px" id="TrEstatus" runat="server" visible="false">
<td>&nbsp;&nbsp;&nbsp;</td>
<td>
<asp:Label ID="LblEstatusEvento" runat="server" Text=""></asp:Label>
</td>
</tr>
<tr>
<td></td>
<td>
<table border="0px" cellpadding="0px" cellspacing="0px" width="350px">
<tr>
<td align="left" class="Titulos">Seleccione el usuario(s)</td>
</tr>
</table>
<table border="1px" rules="all" style="border-collapse: collapse;" width="350px">
<tr>
<td align="center" class="Titulos" width="75px">Para</td>
<td align="center" class="Titulos" width="75px">C. C. Para</td>
<td class="Titulos">Usuario</td>
</tr>
</table>
<div id="DivUsr" runat="server" style="width: 350px; height: 200px; overflow-y: scroll;">
<asp:GridView ID="GVUsuarios" runat="server" AutoGenerateColumns="false" ShowHeader="false" Width="100%" DataKeyNames="CveUsuario,Nombre,Correo" CssClass="table table-striped table-advance table-hover" Style="margin-top: -10px; text-align: center;" GridLines="None">
<Columns>
<asp:TemplateField>
<ItemStyle HorizontalAlign="Center" Width="75px" />
<ItemTemplate>
<asp:CheckBox ID="ChkPara" runat="server" Width="75px" />
<ajax:MutuallyExclusiveCheckBoxExtender ID="MECBE" runat="server" TargetControlID="ChkPara" Key="Para"></ajax:MutuallyExclusiveCheckBoxExtender>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemStyle HorizontalAlign="Center" Width="75px" />
<ItemTemplate>
<asp:CheckBox ID="ChkCCP" runat="server" Width="75px" />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlNombre" runat="server" Text='<%# Eval("Nombre") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:Literal ID="LtlRol" runat="server" Text='<%# Eval("Rol") %>'></asp:Literal>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<asp:UpdatePanel ID="upGuardar" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button ID="cmdGuardar" runat="server" Text="Guardar" ValidationGroup="Guarda" class="btn btn-primary" />
<asp:Button ID="cmdRevision" runat="server" Text="Pendiente" Visible="False" class="btn btn-primary" />
<asp:Button ID="cmdTerminada" runat="server" Text="Terminada" Visible="False" class="btn btn-primary" />
<asp:Button ID="cmdRevisada" runat="server" Text="Revisada" Visible="False" class="btn btn-primary" />
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr id="TdObservaciones" runat="server" visible="false">
<td colspan="2">
<asp:Panel ID="PnlEncObs" runat="server">
<table border="1" style="border-collapse: collapse;" rules="all" width="980px">
<tr class="Titulosb">
<td align="left" colspan="4">&nbsp;Observaciones&nbsp;<asp:Image ID="ImgAddObs" runat="server" ImageUrl="~/imagenes/add_comment.png" Style="cursor: pointer;" />
&nbsp;&nbsp;<asp:Label ID="LblOcultaObs" runat="server"></asp:Label>
<asp:UpdatePanel runat="server" ID="UPPObs" UpdateMode="Conditional">
<ContentTemplate>
<div id="divObs" style="width: 465px; background-color: White; border: solid 1px black; color: Black; display: none; position: absolute;">
<table border="0" width="465px" cellpadding="0" cellspacing="0">
<tr class="Titulos">
<td style="width: 460px">Observaciones:</td>
<td style="padding-right: 4px; padding-top: 4px" valign="top">
<img alt="" src="/imagenes/close.gif" style="cursor: pointer;" onclick="$get('divObs').style.display='none';" /></td>
</tr>
<tr>
<td colspan="2">&nbsp;<asp:TextBox ID="TxtOBs" runat="server" TextMode="MultiLine" Rows="4" Width="450px" MaxLength="1000"></asp:TextBox>
<asp:RequiredFieldValidator ID="RFVObs" runat="server" Display="None" ControlToValidate="TxtOBs" ErrorMessage="<b><span style='text-decoration: underline'>ERROR:</span></b><br />El campo <b>''Observaciones''</b> es necesario, por favor ingréselo." ValidationGroup="GrpGuardaBit"></asp:RequiredFieldValidator>
<ajax:ValidatorCalloutExtender ID="VCEOBs" runat="server" HighlightCssClass="vco" TargetControlID="RFVObs" Width="300px" />
</td>
</tr>
<tr>
<td colspan="2">&nbsp;
<a class="Texto" runat="server" clientidmode="Static" id="SubirArchivo" onclick="javascript:AbrirVentana('/UploadFile.aspx?Pagina=Eventos',500,150);">Subir archivo:&nbsp;<img id="ImgArchivoObs" alt="Archivo" src="/Imagenes/cancel.png" style="border: 0px none white" /></a>
<asp:CheckBox ID="ChkPublicar" runat="server" Visible="False" Text="Publicar Documento" />
<asp:CheckBox ID="ChkRegresaraPendiente" runat="server" Visible="False" Text="Regresar a Pendiente" /></td>
</tr>
<tr style="height: 25px">
<td align="center" colspan="2">
<asp:Button ID="BtnAddObs" runat="server" Text="Aceptar" ValidationGroup="GrpGuardaBit" />
<input id="BtnCancelObs" type="button" value="Cancelar" onclick="$get('divObs').style.display = 'none';" />
</td>
</tr>
</table>
</div>
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td align="center" style="width: 30px">
<asp:Image ID="ImgMuestraObs" runat="server" ImageUrl="/imagenes/FlechasAbajo.gif" /></td>
</tr>
</table>
</asp:Panel>
<ajax:CollapsiblePanelExtender ID="CPEObs" runat="server" TargetControlID="PnlObs" Collapsed="false" ImageControlID="ImgMuestraObs" SuppressPostBack="true" ExpandedImage="/imagenes/FlechasAbajo.gif" CollapsedImage="/imagenes/FlechasArriba.gif" CollapsedText="(Mostrar los obs...)" ExpandedText="(Oculta las obs...)" TextLabelID="LblOcultaObs" CollapseControlID="ImgMuestraObs" ExpandControlID="ImgMuestraObs" />
<asp:Panel ID="PnlObs" runat="server">
<asp:UpdatePanel ID="UPPDatosObs" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GvObservaciones" runat="server" AutoGenerateColumns="False" Width="980px" 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="Nombre" DataFormatString="&nbsp;{0}" HeaderText="Usuario">
<ItemStyle Width="220px" />
</asp:BoundField>
<asp:BoundField DataField="Comentario" DataFormatString="&nbsp;{0}" HeaderText="Observación">
<ItemStyle Width="640px" />
</asp:BoundField>
<asp:TemplateField HeaderText="">
<ItemTemplate>
<asp:HyperLink ID="HplA" runat="server" Visible='<%# Eval("Archivo").ToString <> "" %>'><img src="/Imagenes/descargar.png" alt="Descargar" style="height:18px;border:0;"/></asp:HyperLink>
<asp:ImageButton ID="ImBtnPub" ToolTip="Publicar Documento" Visible="False" ImageUrl="/Imagenes/PublicarDoc.jpg" Height="18px" runat="server" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" Width="30px" />
</asp:TemplateField>
</Columns>
<RowStyle CssClass="Texto" />
<AlternatingRowStyle CssClass="TextoAlterno" />
<HeaderStyle CssClass="Titulos" />
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>
</asp:Panel>
<br />
</td>
</tr>
</table>
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
<script language="javascript" type="text/javascript">
function ConvierteCapital() {
__doPostBack('lnkNull', '');
}
function RevisaTextArea() {
var Texto = document.getElementById('TxtAsunto');
if (Texto)
if (Texto.value.length > 1000)
Texto.value = Texto.value.substring(0, 999);
}
</script>
<script type="text/javascript">
function CargaArchivo(Tipo) {
if (Tipo == "Resguardo") {
$("#BtnCargarResguardo").click();
}
else if (Tipo == "Imagen") {
$("#BtnCargarArchivo").click();
}
}
</script>
</asp:Content>