Welcome Guest Search | Active Topics | Sign In | Register

Problem with EO.Web.CallbackPanel. Options
FCruz
Posted: Friday, June 4, 2010 2:43:55 PM
Rank: Member
Groups: Member

Joined: 6/4/2010
Posts: 16
I have used the callbackpanel, tabstrip among others and I found good tools, now I need to use the grid, now I have almost stow needs with the tests I've done but there is an important detail that I could make is that the grid has a LinkButton should display a popup with information and buttons to navigate, the grid is inside a callbackpanel and when running potback makes the link of the entire screen, or that either complies with the callback, then once the popup is open and run one of the buttons is cooled grid but do not see the popup.

I send the code.

<%@ Page Language="VB" MasterPageFile="~/noupdate.master" AutoEventWireup="false" CodeFile="su_consultaCargos.aspx.vb" Inherits="LeasNetWeb.su_consultaCargos" title="Operación - Facturación - Consulta de Cargos" %>

<%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
//Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function InhabilitaBot()
{
var moneda = $get("<%=cmbMoneda.ClientID%>");
moneda.disabled=true;
var EsqFinan = $get("<%=cmbEsqFinan.ClientID%>");
EsqFinan.disabled=true;
}
function HabilitaBot()
{
var moneda = $get("<%=cmbMoneda.ClientID%>");
moneda.disabled=false;
var EsqFinan = $get("<%=cmbEsqFinan.ClientID%>");
EsqFinan.disabled=false;
}
function activaTxtContrato(extra,Nid)
{
var nombrepadre = DaNamingContainer(Nid);
var txtContrato = document.getElementById(nombrepadre+"_txtContrato");
var cmbContrato = document.getElementById(nombrepadre+"_cmbContrato");
var cmbMoneda = document.getElementById(nombrepadre+"_cmbMoneda");

if (cmbContrato)
{
cmbContrato.style.display = 'none';
}
if (txtContrato)
{
txtContrato.style.display = 'inline';
}
cmbMoneda.disabled = false;
}

function limpiarTabla(Nid)
{
var nombrepadre = DaNamingContainer(Nid);

var hid = $get("<%=hidMostraTabla.ClientID%>");
var panTotal = $get("<%=panTotal.ClientID%>");


if (panTotal!=null)
{
hid.value = "1";
panTotal.style.display='none';
}
}
function limpiaTotales()
{
var lblCapital = $get("<%=lblCapital.ClientID%>");
var lblInteres = $get("<%=lblInteres.ClientID%>");
var lblIva = $get("<%=lblIva.ClientID%>");
var lblTotal = $get("<%=lblTotal.ClientID%>");
var lblMontoPagado = $get("<%=lblMontoPagado.ClientID%>");
var lblSaldo = $get("<%=lblSaldo.ClientID%>");
var panTotal = $get("<%=panTotal.ClientID%>");
lblSaldo.value='';
}
function Buscar(val)
{
var c=event.keyCode;

if(c==13)
{

eo_Callback('cbDatos','1');

// $get('<%=cmdBuscar.ClientID %>').click();
}
}
function Cancelar()
{
var c=event.keyCode;
if(c==13)
{
return false;
}
return true;
}


function cbpDatos_back()
{

alert('Regreso de Datos');

}

function cbpGrid_back()
{

alert('Regreso de grid');


}

function cbpDetalle_go()
{
alert('Voy a detalle');
}

function cbpDetalle_back()
{

alert('Regreso de Detalle');

}

</script>
<table id="main" style="left: -2px; width: 810px" cellspacing="0" border="0">
<tr valign="top">
<td style="height: 750px">
<div id="bodycol">
<div class="app" id="projecthome" >
<div class="h3" id="framework">
<h3>
&nbsp;&nbsp;Consulta</h3>
<div class="panel">
<eo:CallbackPanel
runat="server"
ID="cbDatos"
GroupName="Consulta"
LoadingHTML='<div style="border-left:1; border-bottom:2; border-right:1; border-top:1;vertical-align:middle;padding-right:50px;width:100%; height:100%;"><table width="100%"><tr valign="middle"><td><img src="../img/progress.gif" /></td><td class="encabezados" >Wait...</td></tr></div>'
ClientSideAfterUpdate="cbpDatos_back"

>
<fieldset id="fieldPersona" runat="server">
<table id="Table1" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td class="encabezados" style="width: 170px; height: 24px;">
<asp:RadioButton ID="rdbCve" onclick="javascript:activaTxtContrato(0,id);RadioCve(2,id);Limpiapais();HabilitaBot();limpiarTabla(this.id);" runat="server" Text="Clave"
GroupName="GpoBusquedaPor"></asp:RadioButton></td>
<td class="encabezados" style="width: 150px; height: 24px;">
<asp:TextBox onkeypress="ManejaCar('N',0,this.value);Buscar(this);" ID="txtCve"
BackColor="#EEEEEE" runat="server" Columns="10" MaxLength="10" Width="100px" TabIndex="1" onfocus="RadioCve(2, id);limpiarTabla(this.id);"></asp:TextBox>
</td>
<td class="encabezados" style="width: 71px; height: 24px;">
<asp:RadioButton ID="rdbRFC" onclick="javascript:activaTxtContrato(0,id);RadioRFC(2,id);Limpiapais();HabilitaBot();limpiarTabla(this.id);" runat="server"
Text="R.F.C." GroupName="GpoBusquedaPor" ></asp:RadioButton></td>
<td class="encabezados" style="height: 24px">
<asp:TextBox onkeypress="ManejaCar('A',0,this.value);Buscar(1);" BackColor="#EEEEEE" ID="txtRFC"
runat="server" Columns="17" MaxLength="13" TabIndex="2" onfocus="RadioRFC(2,id);limpiarTabla(this.id);"
Width="150px">
</asp:TextBox></td>
<td class="encabezados" style="WIDTH: 130px; height: 24px;" id="tdPais">
<asp:Label align="center" id="lblPais" runat="server" text="&nbsp;&nbsp;&nbsp;&nbsp;"></asp:Label>
</td>
<td class="encabezados" style="width: 95px; height: 24px;"></td>
</tr>
<tr>
<td class="encabezados" style="width: 220px">
<asp:RadioButton ID="rdbNom" TabIndex="3" onclick="javascript:activaTxtContrato(0,id);RadioNom(2,id);Limpiapais();HabilitaBot();limpiarTabla(this.id);" runat="server"
Text="Nombre/Razón Social" GroupName="GpoBusquedaPor"></asp:RadioButton></td>
<td class="encabezados" style="width: 547px" colspan="4">
<asp:TextBox BackColor="#EEEEEE" onkeypress="ManejaCar('P',1,this.value);Buscar(this);" ID="txtNom"
onclick="javascript:TextoNom(2,id);RadioNom(2,id);" runat="server" Width="550px" TabIndex="3" onfocus="RadioNom(2,id);limpiarTabla(this.id);">
</asp:TextBox></td>
<td class="encabezados">
</td>
</tr>
<tr>
<td class="encabezados" style="width: 170px">
<asp:RadioButton ID="rdbContrato" onclick="javascript:activaTxtContrato(0,id);activaTxtContrato(0,id);RadioCon(0,id);Limpiapais();InhabilitaBot();limpiarTabla(this.id);" runat="server"
Text="Contrato" GroupName="GpoBusquedaPor"></asp:RadioButton></td>
<td class="encabezados" style="width: 150px">
<asp:TextBox onkeypress="ManejaCar('P',0,this.value);Buscar(this);" Columns="10" MaxLength="15"
BackColor="#EEEEEE" ID="txtContrato" runat="server" TabIndex="4" onfocus="RadioCon(0,id);limpiarTabla(this.id);"
Width="100px">
</asp:TextBox>
<asp:dropdownlist id="cmbContrato" visible="false" runat="server" Width="153px" OnSelectedIndexChanged="cmbContrato_SelectedIndexChanged" AutoPostBack="true"></asp:dropdownlist>
</td>
<td class="encabezados" style="width: 71px">
&nbsp;
Empresa
</td>
<td class="encabezados">
<asp:DropDownList ID="cmbEmpresa" runat="server" Width="331px"></asp:DropDownList>
</td>
<td class="encabezados"></td>
</tr>
</table>
</fieldset>

<fieldset>
<table style="width:100%">
<tr>
<td style="width:55%; height: 26px;">
<asp:Label ID="Label1" runat="server" Text="Tipo de Movimiento" Width="84px"></asp:Label>
<asp:dropdownlist id="cmbTmov" runat="server" width="298px" Font-Size="X-Small">
</asp:dropdownlist>
</td>
<td style="width: 45%; height: 26px">
<asp:Label ID="Label3" runat="server" Text="Esquema de Financiamiento" Width="84px"></asp:Label>&nbsp;
<asp:dropdownlist id="cmbEsqFinan" runat="server" width="255px">
</asp:dropdownlist>
</td>
</tr>
</table>
<table style="width:100%">
<tr>
<td style="width:25%; height: 26px;">
<asp:Label ID="Label2" runat="server" Text="Fecha Inicial" Width="88px"></asp:Label><asp:TextBox
ID="txtFechaValorInicio" runat="server" MaxLength="10" onblur="ValidaFecha (this)"
Width="70px"></asp:TextBox>
<img id="Img1" alt="Fecha Valor Inicial" src="../img/cal.gif" width="16" style="border:0;"/>
<cc1:CalendarExtender ID="CalendarExtender3" runat="server" CssClass="Calendario"
Format="dd/MM/yyyy" PopupButtonID="img1" TargetControlID="txtFechaValorInicio">
</cc1:CalendarExtender>
</td>
<td style="width: 24%; height: 26px">
<asp:Label ID="Label4" runat="server" Text="Fecha Final" Width="90px"></asp:Label><asp:TextBox
ID="txtFechaValorFin" runat="server" MaxLength="10" onblur="ValidaFecha (this)"
Width="70px"></asp:TextBox>
<img id="Img2" alt="Fecha Valor Final" src="../img/cal.gif" width="16" style="border:0;"/>
<cc1:CalendarExtender ID="CalendarExtender4" runat="server" CssClass="Calendario"
Format="dd/MM/yyyy" PopupButtonID="img2" TargetControlID="txtFechaValorFin">
</cc1:CalendarExtender>
</td>
<td style="width:4%; height: 26px">
</td>
<td style="width: 23%; height: 26px">
<asp:Label ID="Label5" runat="server" Text="Moneda" Width="50px"></asp:Label>
<asp:dropdownlist id="cmbMoneda" runat="server" width="100px"></asp:dropdownlist>
</td>
<td style="width:20%; height: 26px">
<asp:Label ID="Label6" runat="server" Text="Status" Width="41px"></asp:Label>
<asp:dropdownlist id="cmbStatus" runat="server" width="112px">
</asp:dropdownlist>
</td>
</tr>
</table>
</fieldset>
</eo:CallbackPanel>
</div>
<div class="functnbar3" style="left: 13px; width: 822px;">
<div class="right">
<asp:Button ID="cmdBuscar" runat="server" Text="Buscar" ></asp:Button>
</div>
</div>


</div>
<eo:CallbackPanel
runat="server"
ID="cbpGrid"
GroupName="Consulta"
LoadingHTML='<div style="border-left:1; border-bottom:2; border-right:1; border-top:1;vertical-align:middle;padding-right:50px;width:100%; height:100%;"><table width="100%"><tr valign="middle"><td><img src="../img/progress.gif" /></td><td class="encabezados" >Wait...</td></tr></div>'
ClientSideAfterUpdate="cbpGrid_back" Triggers="{ControlID:btnBack;Parameter:},{ControlID:btnForward;Parameter:}"
>
<eo:Grid
ID="grdPba"
runat="server"
GridLines="Both"
FixedColumnCount="2"
ColumnHeaderDescImage="00050205"
GridLineColor="240, 240, 240"

ColumnHeaderAscImage="00050204"
Height="258px"
Font-Size="8.75pt"
Font-Names="Tahoma"
ColumnHeaderDividerImage="00050203"
ItemHeight="25"
Width="829px"
ColumnHeaderHeight="28"
Font-Bold="False"
Font-Italic="False"
Font-Overline="False"
Font-Strikeout="False"
Font-Underline="False"
RunningMode="Server"
KeyField="mov_fl_cve"
PageSize="30">
<FooterStyle CssText="padding-bottom:4px;padding-left:4px;padding-right:4px;padding-top:4px;" />
<ItemStyles>
<eo:GridItemStyleSet>
<ItemStyle CssText="background-color:whitesmoke;" />
<AlternatingItemStyle CssText="background-color:LightGrey;" />
<ItemHoverStyle CssText="background-color:lightblue;" />
<SelectedStyle CssText="background-color:lightsteelblue;" />
<CellStyle CssText="color:whitesmoke;padding-left:8px;padding-top:2px;white-space:nowrap;" />
</eo:GridItemStyleSet>
</ItemStyles>
<ColumnHeaderTextStyle CssClass="encabezadosCentrar" />
<Columns>
<eo:ButtonColumn AllowResize="False" DataField="mov_ds_descripcion" HeaderText="Descripci&#243;n">
<ButtonStyle CssClass="resulIzquierda" />
<CellStyle CssClass="resulIzquierda" />
</eo:ButtonColumn>
<eo:StaticColumn DataField="cto_fl_cve" HeaderText="Contrato" ReadOnly="True" Width="60">
<CellStyle CssClass="resulDerecha" />
</eo:StaticColumn>
<eo:StaticColumn DataField="rta_no_tasa_nominal" DataFormat="{0:N4}" HeaderText="Tasa"
ReadOnly="True" Width="50">
<CellStyle CssClass="resulDerecha" />
</eo:StaticColumn>
<eo:StaticColumn DataField="noFactura" HeaderText="Folio" ReadOnly="True" Width="60">
<CellStyle CssClass="resulIzquierda" />
</eo:StaticColumn>
<eo:StaticColumn DataField="mov_fe_exigibilidad" DataFormat="{0:dd/MM/yyyy}" HeaderText="Fecha Vencimiento"
ReadOnly="True" Width="75">
<CellStyle CssClass="resulCentrado" />
</eo:StaticColumn>
<eo:StaticColumn DataField="pag_fe_valor" DataFormat="{0:dd/MM/yyyy}" HeaderText="Fecha Pago"
ReadOnly="True" Width="75">
<CellStyle CssClass="resulCentrado" />
</eo:StaticColumn>
<eo:StaticColumn DataField="mov_no_capital" DataFormat="{0:N}" HeaderText="Capital"
ReadOnly="True" Width="75">
<CellStyle CssClass="resulDerecha" />
</eo:StaticColumn>
<eo:StaticColumn DataField="mov_no_interes" DataFormat="{0:N}" HeaderText="Inter&#233;s"
ReadOnly="True" Width="70">
<CellStyle CssClass="resulDerecha" />
</eo:StaticColumn>
<eo:StaticColumn DataField="mov_no_IVA" DataFormat="{0:N}" HeaderText="IVA" ReadOnly="True"
Width="70">
<CellStyle CssClass="resulDerecha" />
</eo:StaticColumn>
<eo:StaticColumn DataField="mov_no_Total" DataFormat="{0:N}" HeaderText="Total" ReadOnly="True"
Width="75">
<CellStyle CssClass="resulDerecha" />
</eo:StaticColumn>
<eo:StaticColumn DataField="monto_pagado" DataFormat="{0:N}" HeaderText="Pago" ReadOnly="True"
Width="70">
<CellStyle CssClass="resulDerecha" />
</eo:StaticColumn>
<eo:StaticColumn DataField="mov_no_saldo" DataFormat="{0:N}" HeaderText="Saldo" ReadOnly="True"
Width="75">
<CellStyle CssClass="resulDerecha" />
</eo:StaticColumn>
</Columns>
<ColumnHeaderStyle CssText="background-color:silver;padding-left:8px;padding-top:4px;" CssClass="encabezadosCentrar"></ColumnHeaderStyle>
</eo:Grid>

<div id="dTotales" style="background:white; background-color:White;">
<asp:Panel runat="server" ID="panTotal">
<table id="Tabla2" class="right" border="0" cellpadding="0" cellspacing="0" style="left: 13px; width: 827px;border-color:White;">
<tr style="background-color:White;">
<td colspan="14">&nbsp;</td>
</tr>
<tr>
<%--<td class="encabezados" style="color: white" bgcolor="white">..</td>
<td class="encabezados" style="color: white" bgcolor="white"></td>--%>
<td class="encabezados" style="color: black"><b>TOTALES:</b></td>
<td class="encabezados" >Capital:</td>
<td class="encabezados" >&nbsp;</td>
<td class="encabezados" style="color: black">
<asp:Label ID="lblCapital" runat="server"></asp:Label>
</td>
<td class="encabezados" >Interes:</td>
<td class="encabezados" style="color: black" >
<asp:Label ID="lblInteres" runat="server"></asp:Label>
</td>
<td class="encabezados" >Iva:</td>
<td class="encabezados" style="color: black" >
<asp:Label ID="lblIva" runat="server"></asp:Label>
</td>
<td class="encabezados" >Total:</td>
<td class="encabezados" style="color: black" >
<asp:Label ID="lblTotal" runat="server"></asp:Label>
</td>
<td class="encabezados" >Mto. Pagado:</td>
<td class="encabezados" style="color: black" >
<asp:Label ID="lblMontoPagado" runat="server"></asp:Label>
</td>
<td class="encabezados" >Saldo:</td>
<td class="encabezados" style="color: black" >
<asp:Label ID="lblSaldo" runat="server"></asp:Label>
</td>
</tr>
</table>
<asp:HiddenField ID="hdnIndiceGrid" runat="server" />
</asp:Panel>
</div>




<cc1:ModalPopupExtender ID="mpeFacturas" runat="server" TargetControlID="cmdPop"
PopupControlID="panCoacreditado"
BackgroundCssClass="modalBackground" >
</cc1:ModalPopupExtender>
<asp:Button ID="cmdPop" runat="server" style="display:none;"/>

<cc1:DragPanelExtender ID="DPE1" runat="server" BehaviorID="DragP1"
TargetControlID = "panPrevioFact"
DragHandleID = "PanAzul"
Enabled="true" />
<asp:HiddenField ID="EncontroP" runat="server" Value="0" />

<asp:Panel ID="panPrevioFact" runat="server" Width="600px" style="display:none;">
<asp:Panel ID="panContPrevioFact" runat="server" style=" border-width: 1.5px;
border-color: #808080;" Width="100%" backcolor="#E6E6E6">
<div class="app" id="Div3" onkeypress="return Cancelar();">
<div class="h3" id="Div4" onkeypress="return Cancelar();">
<asp:Panel id="PanAzul" Width="600px" runat="server" Height="29px">
<table bgcolor="#7388aa" width="100%" onkeypress="return Cancelar();">
<tr>
<td align="left" style="width: 91%">
<asp:Label id="LabelPopUp" runat="server" Font-Bold="True" Font-Size="8pt" ForeColor="White" Width="447px"></asp:Label>
</td>
<td width="20%" align="right">
<div align="right">
<asp:LinkButton id="lnkCerrarPrevio" text="Cerrar" runat="server" OnClick="lnkCerrarPrevio_Click"></asp:LinkButton>
</div>
</td>
</tr>
</table>
</asp:Panel>
<table cellpadding="4" class="panel" style="width: 100%" onkeypress="return Cancelar();">
<tr>
<td class="encabezados" style="width: 58px">
Descripcion:</td>
<td class="encabezados" style="color: black; width: 180px;">
<b>
<asp:Label ID="LblMovC" runat="server" Width="179px"></asp:Label>
</b>
</td>
<td class="encabezados" style="width: 68px">Contrato</td>
<td class="encabezados" style="width: 13px; color: black">
<b>
<asp:Label ID="LblCtoC" runat="server" Width="41px"></asp:Label>
</b>
</td>
</tr>
</table>
<table onkeypress="return Cancelar();">
<tr>
<td class="encabezados" style="width: 12.5%">Fecha Exigibilidad:</td>
<td class="encabezados" style="color: black; width: 12.5%;">
<b>
<br />
<asp:Label ID="LblFexExiC" runat="server"></asp:Label>
</b>
</td>
<td class="encabezados" style="width: 12.5%">
&nbsp;
<br />
&nbsp;
Total:
</td>
<td class="encabezados" style="color: black; width: 12.5%;">
<b>
<br />
<asp:Label ID="LblMontoC" runat="server" Width="12.5%"></asp:Label>
</b>
</td>
<td class="encabezados" style="width: 12.5%">Monto Pagado:</td>
<td class="encabezados" style="color: black; width: 12.5%;">
<b>
<br />
<asp:Label ID="LblPagC" runat="server" Text="" Width="12.5%"></asp:Label>
</b>
</td>
<td class="encabezados" style="width: 12.5%">
&nbsp;
<br />
&nbsp;
Saldo:
</td>
<td class="encabezados" style="color: black;width: 12.5%;">
<b>
<br />
<asp:Label ID="LblSaldoC" runat="server" Text="" Width="12.5%"></asp:Label>
</b>
</td>
</tr>
</table>
<table onkeypress="return Cancelar();">
<tr>
<td style="width: 212px"></td>
<td>
<asp:Button ID="btnBack" runat="server" OnClick="btnBack_Click" Text="<<" />&nbsp;
<asp:Label ID="lblBloqueP" runat="server" Text="Detalle Cargos"></asp:Label>
<asp:Button ID="btnForward" runat="server" OnClick="btnForward_Click" Text=">>" />&nbsp;
</td>
</tr>
</table>
<table cellpadding="4" class="panel" style="width: 99.6%" border="0" onkeypress="return Cancelar();">
<tr>
<td class="encabezados" style="color:#cc3300"><b><asp:Label ID="LabelFacturas" runat="server"></asp:Label></b></td>
</tr>
</table>
<table style="WIDTH: 100%" cellspacing="0" cellpadding="0" border="0" onkeypress="return Cancelar();">
<tr>
<td>
<asp:GridView id="gvFolios" runat="server" AutoGenerateColumns="False" PageSize="15" AllowPaging="True" Width="100%" Font-Size="7pt" CellPadding="1" CellSpacing="1" BorderStyle="Solid">
<PagerSettings Mode="NumericFirstLast" PageButtonCount="20" />
<FooterStyle HorizontalAlign="Right" />
<Columns>
<asp:BoundField DataField="COMPROBANTE" HeaderText="Comprobante"><ItemStyle CssClass="left"></ItemStyle></asp:BoundField>
<asp:BoundField DataField="FOLIO" HeaderText="Folio"><ItemStyle CssClass="center"></ItemStyle></asp:BoundField>
<asp:BoundField DataField="CMP_FE_COMPROBANTE" HtmlEncode="false" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Fecha Comprobante"><ItemStyle CssClass="center"></ItemStyle></asp:BoundField>
</Columns>
<RowStyle BackColor="#E6E6E6" BorderColor="White" BorderStyle="Solid" BorderWidth="1px" />
<PagerStyle HorizontalAlign="Right" CssClass="encabezados" BackColor="Gainsboro" />
<HeaderStyle CssClass="encabezados" BorderStyle="Solid" BorderColor="White" BorderWidth="1px" BackColor="Gainsboro" />
<AlternatingRowStyle BackColor="WhiteSmoke" />
</asp:GridView>
</td>
</tr>
</table>

<%--Pagos--%>
<table cellpadding="4" class="panel" style="width: 99.6%" onkeypress="return Cancelar();">
<tr>
<td class="encabezados" ><b>.</b></td>
</tr>
</table>
<table cellpadding="4" class="panel" style="width: 99.6%" onkeypress="return Cancelar();">
<tr>
<td class="encabezados" style="color:#cc3300"><b><asp:Label ID="LabelPagos" runat="server"></asp:Label></b></td>
</tr>
</table>
<table style="WIDTH: 100%" cellspacing="0" cellpadding="0" border="0" onkeypress="return Cancelar();">
<tr>
<td>
<asp:GridView id="gvPagos" runat="server" AutoGenerateColumns="False" PageSize="15" AllowPaging="True" Width="100%" Font-Size="7pt"
CellPadding="1" CellSpacing="1" BorderStyle="Solid">
<PagerSettings Mode="NumericFirstLast" PageButtonCount="20" />
<FooterStyle HorizontalAlign="Right" Font-Bold="true" />
<Columns>
<asp:TemplateField FooterText="Totales" FooterStyle-Font-Bold="false" FooterStyle-CssClass="right" HeaderText="Id Pago" HeaderStyle-CssClass="right">
<EditItemTemplate>
<asp:TextBox ID="TextBoxIdPago" runat="server" Text='<%# Eval("PAG_FL_CVE") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="LabelIdPago" runat="server" Text='<%# Eval("PAG_FL_CVE") %>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="center" Font-Bold="False" ForeColor="Black" Width="200px" /></asp:TemplateField>
<asp:TemplateField HeaderText="Capital" HeaderStyle-CssClass="center" FooterStyle-CssClass="right">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Text='<%# FORMAT(Eval("PGM_NO_CAPITAL").ToString(),"Currency") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="LabelCapital" runat="server" Text='<%# FORMAT(Eval("PGM_NO_CAPITAL").ToString(),"Currency")%>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="itemDerecha" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Intereses" HeaderStyle-CssClass="center" FooterStyle-CssClass="right">
<EditItemTemplate>
<asp:TextBox ID="TextBox3" runat="server" Text='<%# FORMAT(Eval("PGM_NO_INTERES").ToString(),"Currency") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="LabelIntereses" runat="server" Text='<%# FORMAT(Eval("PGM_NO_INTERES").ToString(),"Currency") %>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="itemDerecha" />
</asp:TemplateField>
<asp:TemplateField HeaderText="IVA" HeaderStyle-CssClass="center" FooterStyle-CssClass="right">
<EditItemTemplate>
<asp:TextBox ID="TextBox4" runat="server" Text='<%# FORMAT(Eval("PGM_NO_IVA").ToString(),"Currency") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="LabelIva" runat="server" Text='<%# FORMAT(Eval("PGM_NO_IVA").ToString(),"Currency") %>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="itemDerecha" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Total" HeaderStyle-CssClass="center" FooterStyle-CssClass="right">
<EditItemTemplate>
<asp:TextBox ID="TextBox5" runat="server" Text='<%# FORMAT(Eval("PGM_NO_MONTO").ToString(),"Currency") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="LabelMonto" runat="server" Text='<%# FORMAT(Eval("PGM_NO_MONTO").ToString(),"Currency") %>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="itemDerecha" />
</asp:TemplateField>
<asp:BoundField DataField="PGM_FE_OPERACION" HeaderText="Fecha Operacion" HtmlEncode="false" DataFormatString="{0:dd/MM/yyyy}" ><ItemStyle CssClass="center"></ItemStyle></asp:BoundField>
<asp:BoundField DataField="TPA_DS_TIPO_PAGO" HeaderText="Tipo Pago" ><ItemStyle CssClass="center"></ItemStyle></asp:BoundField>
</Columns>
<RowStyle BackColor="#E6E6E6" BorderColor="White" BorderStyle="Solid" BorderWidth="1px" />
<PagerStyle HorizontalAlign="Right" CssClass="encabezados" BackColor="Gainsboro" />
<HeaderStyle CssClass="encabezados" BorderStyle="Solid" BorderColor="White" BorderWidth="1px" BackColor="Gainsboro" />
<AlternatingRowStyle BackColor="WhiteSmoke" />
</asp:GridView>
</td>
</tr>
</table>
<%--moratorios y gastos de cob--%>
<table cellpadding="4" class="panel" style="width: 99.7%" onkeypress="return Cancelar();">
<tr>
<td class="encabezados" ><b>.</b></td>
</tr>
</table>
<table cellpadding="4" class="panel" style="width: 99.6%" border="0" onkeypress="return Cancelar();">
<tr>
<td class="encabezados" style="color:#cc3300"><b><asp:Label ID="LabelMoratorios" runat="server"></asp:Label></b></td>
</tr>
</table>
<table style="WIDTH: 100%" cellspacing="0" cellpadding="0" border="0" onkeypress="return Cancelar();">
<tr>
<td>
<asp:GridView id="gvMora" runat="server" AutoGenerateColumns="False" PageSize="15" AllowPaging="True" Width="100%" Font-Size="7pt" CellPadding="1" CellSpacing="1" BorderStyle="Solid">
<PagerSettings Mode="NumericFirstLast" PageButtonCount="20" />
<FooterStyle HorizontalAlign="Right" />
<Columns>
<asp:BoundField DataField="MOV_FL_CVE" HeaderText="Id Movimiento"><ItemStyle CssClass="center"></ItemStyle></asp:BoundField>
<asp:BoundField DataField="KTM_DS_TMOVTO" HeaderText="Descripción"><ItemStyle CssClass="center"></ItemStyle></asp:BoundField>
<asp:BoundField DataField="MOV_FE_EXIGIBILIDAD" HtmlEncode="false" DataFormatString="{0:dd/MM/yyyy}" HeaderText="Fecha Exigibilidad"><ItemStyle CssClass="center"></ItemStyle></asp:BoundField>
<asp:TemplateField HeaderText="Capital" HeaderStyle-CssClass="center">
<ItemTemplate>
<asp:Label ID="LabelMonto" runat="server" Text='<%# FORMAT(Eval("MOV_NO_CAPITAL").ToString(),"Currency") %>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="itemDerecha" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Iva" HeaderStyle-CssClass="center">
<ItemTemplate>
<asp:Label ID="LabelMonto" runat="server" Text='<%# FORMAT(Eval("MOV_NO_IVA").ToString(),"Currency") %>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="itemDerecha" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Total" HeaderStyle-CssClass="center">
<ItemTemplate>
<asp:Label ID="LabelMonto" runat="server" Text='<%# FORMAT(Eval("MOV_NO_TOTAL").ToString(),"Currency") %>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="itemDerecha" />
</asp:TemplateField>
<asp:TemplateField HeaderText="Saldo" HeaderStyle-CssClass="center">
<ItemTemplate>
<asp:Label ID="LabelMonto" runat="server" Text='<%# FORMAT(Eval("MOV_NO_SALDO").ToString(),"Currency") %>'></asp:Label>
</ItemTemplate>
<ItemStyle CssClass="itemDerecha" />
</asp:TemplateField>
</Columns>
<RowStyle BackColor="#E6E6E6" BorderColor="White" BorderStyle="Solid" BorderWidth="1px" />
<PagerStyle HorizontalAlign="Right" CssClass="encabezados" BackColor="Gainsboro" />
<HeaderStyle CssClass="encabezados" BorderStyle="Solid" BorderColor="White" BorderWidth="1px" BackColor="Gainsboro" />
<AlternatingRowStyle BackColor="WhiteSmoke" />
</asp:GridView>
</td>
</tr>
</table>
<%--final--%>

<table cellpadding="4" class="panel" style="width: 99.7%" onkeypress="return Cancelar();">
<tr>
<td class="encabezados" ><b>.</b></td>
</tr>
</table>
</div>
</div>
</asp:Panel>
</asp:Panel>



<asp:HiddenField ID="hidMostraTabla" runat="server" value="0" />
<asp:HiddenField ID="hidScrollPos" runat="server"/>
<asp:Label ID="lblMensaje" runat="server"></asp:Label>
<asp:TextBox ID="txtXML" runat="server" Width="60px" Height="16px" Visible="False">
</asp:TextBox>
<asp:TextBox ID="txtPermisos" runat="server" Width="60px" Height="16px" Visible="False">
</asp:TextBox>
<asp:TextBox ID="txtPJuridica" runat="server" Width="60px" Height="16px" Visible="False">
</asp:TextBox>
<asp:TextBox ID="txtEncontro" runat="server" Width="60px" Height="16px" Visible="False">
</asp:TextBox>
<asp:TextBox ID="txtPwd" runat="server" Width="10px" Height="16px"
BorderColor="White" BorderStyle="None" ForeColor="White" Visible="False"></asp:TextBox>
<asp:TextBox ID="txtLogin" runat="server" Width="10px" Height="16px" AutoPostBack="True"
BorderColor="White" BorderStyle="None" ForeColor="White" Visible="False">
</asp:TextBox>
<%--Previo de la Facturacion--%>


<%--Ventana de Mensaje--%>
<cc1:ModalPopupExtender ID="mpeMsg" runat="server" TargetControlID="cmdMsgPop" PopupControlID="panMsg">
</cc1:ModalPopupExtender>
<asp:HiddenField ID="hfPosPopUp" runat="server" />
<asp:Button id="cmdMsgPop" runat="server" style="display: none;" />
<asp:Panel id="panMsg" runat="server" style="display: none; border: solid; border-width: 1px;"
width="300px" BorderColor="ActiveBorder" Height="138px">
<table style="background-color: white; height: 100%" border="0px" width="100%" onkeypress="return Cancelar();">
<tr style="height: 20px; background-color: #7388aa; width: 100%">
<td align="center" style="font: message-box; text-align: left; vertical-align: middle;
background-color: activecaption; height: 20px; width:250;" valign="middle" colspan="3">
&nbsp;<asp:Label id="lblTMsg" text="Proleasenet" runat="server" Forecolor="ActiveCaptionText"></asp:Label>
</td>
</tr>
<tr valign="middle" style="vertical-align: middle;">
<td style="width:5px;">
</td>
<td style="vertical-align: middle; height: 40px; text-align: right;" align="right">
<asp:Image id="Image1" runat="server" ImageUrl="~/img/Warning.bmp" ImageAlign="Middle">
</asp:Image></td>
<td align="center" style="font: message-box; text-align: left; vertical-align: middle;
height: 40px;" valign="middle">
<asp:Label id="lblMsg" runat="server" Font-Bold="False" ForeColor="WindowText" width="100%"
style="text-align: center;"></asp:Label>
</td>
</tr>
<tr style="height: 10px">
</tr>
<tr style="background-color: Menu; height: 30px;">
<td align="center" style="text-align: right; vertical-align: middle; height: 30px;"
valign="middle" colspan="3">
<asp:Button id="btnMsg" runat="server" text="Aceptar" ForeColor="ControlText" OnClick="btnMsg_Click" />&nbsp;&nbsp;
</td>
</tr>
</table>
</asp:Panel>
<%--Termina Ventana de Mensaje--%>
<asp:HiddenField ID="cveCto" runat="server" /> &nbsp;
<asp:Button ID="btnCargosH" Text="0" runat="server" Visible="false" />

</eo:CallbackPanel>
</div>
</div>
</td>
</tr>

</table>

</asp:Content>

I hope you can help me.

Thanks in advace.
eo_support
Posted: Friday, June 4, 2010 2:51:07 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,080
Hi,

We will not be 100% sure about what is causing the problem unless we can run the code here. We are also not exactly sure what you mean by "when running potback makes the link of the entire screen, or that either complies with the callback, then once the popup is open and run one of the buttons is cooled grid but do not see the popup". If you can isolate the problem into a test page and then provide step by step explanation to the problem, so that we can run it and see the problem here, then we should be able to tell you exactly how to solve it.

Just by looking at your code, I see you use a PopupExtender to display the popup. There were some known issues with PopupExtender being AJAX updated. You may want to try our Dialog control. Our Dialog control provides the same functionality but works a little bit differently. It is container, not an extender. So everything shown in the popup is directly placed inside the dialog.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.