Welcome Guest Search | Active Topics | Sign In | Register

Issue implementing TabStrip Options
FCruz
Posted: Thursday, November 3, 2011 4:47:27 PM
Rank: Member
Groups: Member

Joined: 6/4/2010
Posts: 16
Hi,

I've an asp page that works fine but when I insert an tabstrip control to charge the asp sends me the next message.


Error de servidor en la aplicación '/WorkPlace'.



Desbordamiento de SqlDateTime. must be between 1/1/1753 12:00:00 AM and 12/31/9999 11:59:59 PM.
Descripción: Excepción no controlada al ejecutar la solicitud Web actual. Revise el seguimiento de la pila para obtener más información acerca del error y dónde se originó en el código.

Detalles de la excepción: System.Data.SqlTypes.SqlTypeException: Desbordamiento de SqlDateTime. must be between 1/1/1753 12:00:00 AM y 12/31/9999 11:59:59 PM.

Error de source code:





Línea 152:
Línea 153: o = window.showModalDialog("../Compartidas/Busca_Beneficiario.aspx?fecha=" + Mi_Fecha.getMilliseconds(), window, opc);
Línea 154: var clave_clave = document.getElementById('<%=txtBeneficiario.ClientID%>');
Línea 155:
Línea 156: if (o != undefined) {

Archivo de origen: C:\Users\FCruz\Documents\Proyectos\DIz\AdmonGeneral\WorkPlace\privada\Autogenerados\Ingresos_Directos.aspx Línea: 154

Seguimiento de la pila:





[SqlTypeException: Desbordamiento de SqlDateTime. Debe estar entre 1/1/1753 12:00:00 AM y 12/31/9999 11:59:59 PM.]
System.Data.SqlTypes.SqlDateTime.FromTimeSpan(TimeSpan value) +2035287
System.Data.SqlTypes.SqlDateTime.FromDateTime(DateTime value) +238
System.Data.SqlClient.MetaType.FromDateTime(DateTime dateTime, Byte cb) +46
System.Data.SqlClient.TdsParser.WriteValue(Object value, MetaType type, Byte scale, Int32 actualLength, Int32 encodingByteSize, Int32 offset, TdsParserStateObject stateObj) +4851293
System.Data.SqlClient.TdsParser.TdsExecuteRPC(_SqlRPC[] rpcArray, Int32 timeout, Boolean inSchema, SqlNotificationRequest notificationRequest, TdsParserStateObject stateObj, Boolean isCommandProc) +4296
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +954
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +162
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +32
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +141
System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +12
System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +10

etc.. etc..

If I delete the mentioned line the error message appear in another line.

Without the tabstrip control the asp page works fine.

Any idea ?


Thanks in advance.
eo_support
Posted: Thursday, November 3, 2011 4:51:56 PM
Rank: Administration
Groups: Administration

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

I do not believe this has anything to do with us. The TabStrip might have triggered the problem for you, but the problem is somewhere else.

Thanks
FCruz
Posted: Thursday, November 3, 2011 5:01:27 PM
Rank: Member
Groups: Member

Joined: 6/4/2010
Posts: 16
Obviously Eh? the tabstrip triggered the problem and the tabstrip is an object that is included in your product EO.Web.

I send you the code where you can view that the tabstrip don't have code and yet it send the error.

Code: HTML/ASPX
<%@ Page Language="VB" MasterPageFile="~/mpPrincipal.master" AutoEventWireup="false" CodeFile="Ingresos_Directos.aspx.vb" Inherits="PRIVADA_Autogenerados_Ingresos_Directos" title="Untitled Page" %>

<%@ Register Assembly="RJS.Web.WebControl.PopCalendar" Namespace="RJS.Web.WebControl"
    TagPrefix="rjs" %>

<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <script language="javascript" type="text/javascript" >

    function cbpPrincipal_ejecuta(Param) {
        
        eo_Callback('cbpPrincipal', Param);

    }
    
    function cbpIngresos_ejecuta(Param) {
        
        eo_Callback('cbpIngresos', Param);

    }

    function cbpIngresos_Back() {
        var obj = document.getElementById("<%=hdnErrIngresos.ClientID%>");
        
        if (obj.value != '') {
            alert(obj.value);
        }
    }

    function cbpDepositos_ejecuta(Param) {
        eo_Callback('cbpDepositos', Param);
    }

    function cbpPrincipal_Back() {
        
        var obj = document.getElementById("<%=hdnErrPrincipal.ClientID%>");

        if (obj.value != '') {
        
            //aquí debemos meter un split para recuperar parametro de impresion
            var imp = obj.value.split('|');

            var opc = 'status:no,edge:sunken,help:no,resize=no,';
            opc = opc + 'width=1,height=1';
            
            if (imp[0] == 'IMP') {
               var objImp = showModalDialog('../compartidas/formatoRecibo.aspx?iIdSu=' + imp[2] + '&iIdauto=' + imp[1] + '&iFormato=' + imp[3], 'recibo', opc);
             }
            else {
                alert(obj.value);
            }
            obj.value = '';
        }
    }

    function Calcula_descuento(sTipo) {
        var Importe;
        var iDescuento;
        var pDescuento;

        Importe = document.getElementById('<%=txtImporte.ClientID%>');
        iDescuento = document.getElementById('<%=txtDctoImp.ClientID %>');
        pDescuento = document.getElementById('<%=txtDctoPorc.ClientID %>');

        
        if (Importe.value > 0) {
            if (sTipo == "I") {
                
                if (pDescuento.value <= 100 || pDescuento.value < 0 ) {
                    iDescuento.value = (pDescuento.value * Importe.value) / 100;
                    iDescuento = redondeo(iDescuento);
                }
                else {
                    pDescuento.focus();
                    pDescuento.select();
                    alert('El valor del porcentaje de descuento \n debe ser entre 0 y  100 ');
                }
            }
            else {
                pDescuento.value = (iDescuento.value * 100.00) / Importe.value;
                pDescuento = redondeo(pDescuento);
            }
        }
    }

    function redondeo(valor) {
        var result = Math.round(parseFloat(valor) * 100) / 100;
        return result;
    }

    function dlgDescuentoReturn() {
        eo_Callback('cbpPrincipal', 6);
    }

    function cbpDeposito_ejecuta(Param) {
        eo_Callback('cbpDeposito',Param);
    }
    
    function cbpDeposito_Back() {
        var obj;
        obj = document.getElementById("<%=hdnErrDeposito.ClientID %>");
        if (obj.value != '') {
            alert(obj.value)
        }
    }
    function dlgDepositoReturn() {
        eo_Callback('cbpDeposito', 2);
        eo_Callback('cbpIngresos', 1);
    }
    
    function ActualizaSaldoCaja(obj) {
        if (obj.value > -1) {
            eo_Callback('cbpPrincipal',9);
        }
    }
    
    function abreDetalle(id,Param,Dep){
        var obj = document.getElementById("<%=hdnIdDeposito.ClientID%>");
        var objRow = document.getElementById("<%=hdnRowDeposito.ClientID%>");
        obj.value = id;
        objRow.value = id;
        obj.value = Dep;
        eo_Callback('cbpPrincipal', Param);

    }

    function calculaImporte() {
        var sBeneficiario = document.getElementById("<%=txtBeneficiario.ClientID %>");
        var iServicio = document.getElementById("<%=ddlServicio.ClientID %>");
        var dImporte = document.getElementById("<%=txtImporte.ClientID%>");
        var dDescuento = document.getElementById("<%=txtImpDescuento.ClientID%>");
        var dTotal = document.getElementById("<%=txtImpTotal.ClientID %>");

        if (sBeneficiario.value == '') { alert('Debe capturar un Beneficiario.'); dImporte.value = 0.00; sBeneficiario.focus();return false;}
        if (iServicio.value < 0) { alert('Debe capturar un Servicio.'); dImporte.value = 0.00; iServicio.focus(); return false; }
        if (dImporte.value == '') { dImporte.value = 0.00; }

        dDescuento.value = 0;

        dTotal.value = parseFloat(dImporte.value) - parseFloat(dDescuento.value)

    }
    
    function busca_Beneficiario() {

        var opc = 'status:no;edge:sunken;dialogHide:true;help:no;resize=no;';
        opc = opc + 'dialogWidth:700px;dialogHeight:450px;';

        var Mi_Fecha = new Date();
        
        o = window.showModalDialog("../Compartidas/Busca_Beneficiario.aspx?fecha=" + Mi_Fecha.getMilliseconds(), window, opc);
                var clave_clave = document.getElementById('<%=txtBeneficiario.ClientID%>');

                if (o != undefined) {
                    clave_clave.value = o.claveBeneficiario;
                    cbpPrincipal_ejecuta(3);
                }
            }

</script>
    <eo:CallbackPanel ID="cbpPrincipal" runat="server" Width="100%"         
        Triggers="{ControlID:ddlServicio;Parameter:4}" 
        ClientSideAfterUpdate="cbpPrincipal_Back" 
        LoadingDialogID="dlgWait">       
        <asp:MultiView ID="mvPrincipal" runat="server" ActiveViewIndex="0">
            <asp:View ID="vwCaptura" runat="server">
                <table width="635px">
                    <tr align="center">
                        <td colspan="1" class="subtitulos_azules">
                            <asp:Label ID="lblCaja" Font-Size="X-Large" runat="server" Text="Caja:"></asp:Label>
                            <asp:Label ID="lblDescCaja" Font-Size="X-Large" runat="server" Text="Principal"></asp:Label>
                            <asp:DropDownList ID="ddlCaja" runat="server" onchange="ActualizaSaldoCaja(this);">
                            </asp:DropDownList> 
                        </td>
                    </tr>
                    <tr align="center">
                        <td colspan="1" class="subtitulos_azules">
                            <asp:Label ID="lblSaldoCaja" Font-Size="Large" runat="server" Text="Saldo Actual $"></asp:Label>
                            <asp:Label ID="lblImpSaldoCaja" Font-Size="Large" runat="server" Text=" 0.00"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="1">
                             
                        </td>
                    </tr>
                    <tr>
                        <td align="center">
                            <table border="0" width="70%">
                                <tr>
                                    <td align="right" rowspan="2">
                                        <asp:Label ID="lblBeneficiario" runat="server" Text="Beneficiario:" CssClass="nombre_campos_derecha"></asp:Label>
                                    </td>
                                    <td align="left">
                                        <asp:TextBox ID="txtBeneficiario" runat="server" CssClass="contenido_campos_derecha" Width="75px" MaxLength="6" onkeyup="javascript:mascara2(this.name,this.type,this.value,3)" onblur="cbpPrincipal_ejecuta(3);" onclick="javascript:select(this);"></asp:TextBox>
                                         
                                        <asp:Image ID="imgBuscaBeneficiario" ImageUrl="~/imagenes/boton/buscar.jpg" ImageAlign="Middle" runat="server" onclick="busca_Beneficiario();" />
                                        <asp:HiddenField ID="hdnid_Beneficiario" runat="server" />
                                    </td>                                        
                                </tr>
                                <tr>
                                    <td align="left">
                                        <asp:Label ID="lblNombreBeneficiario" runat="server" Text="&nbsp;" CssClass="nombre_campos_derecha"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" >
                                        <asp:Label ID="lblServicio" runat="server" Text="Servicio:" CssClass="nombre_campos_derecha"></asp:Label>
                                    </td>
                                    <td colspan="1" align="left">
                                        <asp:DropDownList ID="ddlServicio" CssClass="contenido_campos" runat="server">
                                        </asp:DropDownList>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right" >
                                        <asp:Label ID="lblImporte" runat="server" Text="Importe $" CssClass="nombre_campos_derecha"></asp:Label>
                                    </td>
                                    <td colspan="1" align="left">
                                        <asp:TextBox ID="txtImporte" runat="server" CssClass="contenido_campos_derecha" Enabled="false" Width="75px" MaxLength="12" onblur="calculaImporte();"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="lblDescuento" runat="server" Text="Descuento $" CssClass="nombre_campos_derecha"></asp:Label>
                                    </td>
                                    <td  colspan="1" align="left">
                                        <asp:TextBox ID="txtImpDescuento" runat="server" Text="0.00" Width="75px" CssClass="nombre_campos_derecha" Enabled="false"></asp:TextBox>
                                         
                                        <asp:Image ID="imgDescuento" ImageUrl="~/imagenes/boton/Calcular.jpg" onclick="cbpPrincipal_ejecuta(5);"
                                            runat="server" ImageAlign="Middle" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="lblIVA" runat="server" CssClass="nombre_campos_derecha" 
                                            Text="I.V.A. $"></asp:Label>
                                    </td>
                                    <td colspan="" align="left">
                                        <asp:TextBox ID="txtImpIVA" runat="server" CssClass="nombre_campos_derecha" 
                                            Enabled="false" Text="0.00" Width="75px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="right">
                                        <asp:Label ID="lblTotal" runat="server" CssClass="nombre_campos_derecha" 
                                            Text="Total $"></asp:Label>
                                    </td>
                                    <td align="left" colspan="">
                                        <asp:TextBox ID="txtImpTotal" runat="server" CssClass="nombre_campos_derecha" 
                                            Enabled="false" Text="0.00" Width="75px"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        
                                    </td>
                                </tr>        
                            </table>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="1" class="subtitulos_azules">
                            <asp:Image ID="imgBusIngresos" runat="server" AlternateText="Buscar" 
                                ImageAlign="Middle" ImageUrl="~/imagenes/boton/buscar.jpg" 
                                onclick="cbpPrincipal_ejecuta(1);" ToolTip="Busqueda de ingresos" />
                             
                            <asp:Image ID="imgImprimir" ImageUrl="~/imagenes/boton/Imprimir.jpg" ImageAlign="Middle" runat="server" ToolTip="Genera e imprime Recibo" onclick="cbpPrincipal_ejecuta(7);" />
                             
                            <asp:Image ID="imgBusDepositos" ImageUrl="~/imagenes/boton/pesos.jpg" ImageAlign="Middle" runat="server" ToolTip="Búsqueda de depósitos" onclick="cbpPrincipal_ejecuta(2);" />
                        </td>
                    </tr>                        
                </table>
            </asp:View>
            <asp:View ID="vwIngresos" runat="server">
                <eo:CallbackPanel ID="cbpIngresos" runat="server" Width="100%" ClientSideAfterUpdate="cbpIngresos_Back" >
                    <table width="635px">
                         <tr align="center">
                            <td colspan="4" class="subtitulos_azules" align="center">
                                <asp:Label ID="lblIngresos" Font-Size="X-Large" runat="server" Text="Ingresos NO depositados"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblFechaIniIngreso" runat="server" Text="Periodo Desde:" CssClass="nombre_campos"></asp:Label>
                            </td>
                            <td>
                                <eo:DatePicker 
                                    ID="dtpFechaIniIngreso" 
                                    runat="server" 
                                    PickerFormat="dd/MM/yyyy" 
                                    AllowMultiSelect="False" ControlSkinID="None" DayCellHeight="16" 
                                    DayCellWidth="22" DayHeaderFormat="Short" DisabledDates="" 
                                    MonthSelectorVisible="True" SelectedDates="" 
                                    TitleLeftArrowDownImageUrl="00040103" TitleLeftArrowImageUrl="00040101" 
                                    TitleRightArrowDownImageUrl="00040104" TitleRightArrowImageUrl="00040102" 
                                    VisibleDate="2011-01-01" WeekSelectorVisible="True" 
                                    WaitMessage="Espere..." ToolTip="Fecha de Compromiso">
                                    <TodayStyle CssText="background-image:url('00040106');" />
                                    <SelectedDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; background-image:url('00040105');color:white;" />
                                    <DisabledDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; COLOR: gray" />
                                    <FooterTemplate>
                                        <div style="FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Tahoma&quot;">
                                            <img src="{img:00040106}"> Hoy: {var:today:MM/dd/yyyy} </img>
                                        </div>
                                    </FooterTemplate>
                                    <CalendarStyle CssText="border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;background-color:white" />
                                    <DayHoverStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:underline" />
                                    <MonthStyle CssText="MARGIN: 0px 4px; cursor:hand" />
                                    <TitleStyle CssText="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; PADDING-BOTTOM: 3px; COLOR: white; PADDING-TOP: 3px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #0054e3" />
                                    <DayHeaderStyle CssText="FONT-SIZE: 11px; COLOR: #0054e3; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Tahoma" />
                                    <DayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:none" />
                                </eo:DatePicker>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblFechaFinIngreso" runat="server" Text="Hasta:" CssClass="nombre_campos"></asp:Label>
                            </td>
                            <td>
                                <eo:DatePicker 
                                    ID="dtpFechaFinIngreso" 
                                    runat="server" 
                                    PickerFormat="dd/MM/yyyy" 
                                    AllowMultiSelect="False" ControlSkinID="None" DayCellHeight="16" 
                                    DayCellWidth="22" DayHeaderFormat="Short" DisabledDates="" 
                                    MonthSelectorVisible="True" SelectedDates="" 
                                    TitleLeftArrowDownImageUrl="00040103" TitleLeftArrowImageUrl="00040101" 
                                    TitleRightArrowDownImageUrl="00040104" TitleRightArrowImageUrl="00040102" 
                                    VisibleDate="2011-01-01" WeekSelectorVisible="True" 
                                    WaitMessage="Espere..." ToolTip="Fecha de Compromiso">
                                    <TodayStyle CssText="background-image:url('00040106');" />
                                    <SelectedDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; background-image:url('00040105');color:white;" />
                                    <DisabledDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; COLOR: gray" />
                                    <FooterTemplate>
                                        <div style="FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Tahoma&quot;">
                                            <img src="{img:00040106}"> Hoy: {var:today:MM/dd/yyyy} </img>
                                        </div>
                                    </FooterTemplate>
                                    <CalendarStyle CssText="border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;background-color:white" />
                                    <DayHoverStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:underline" />
                                    <MonthStyle CssText="MARGIN: 0px 4px; cursor:hand" />
                                    <TitleStyle CssText="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; PADDING-BOTTOM: 3px; COLOR: white; PADDING-TOP: 3px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #0054e3" />
                                    <DayHeaderStyle CssText="FONT-SIZE: 11px; COLOR: #0054e3; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Tahoma" />
                                    <DayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:none" />
                                </eo:DatePicker>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" align="center">
                                <asp:GridView 
                                    ID="gvIngresos" 
                                    runat="server"
                                    AutoGenerateColumns="False"                                    
                                    AllowPaging="True"
                                    AllowSorting="True"
                                    BorderColor="#999999" 
                                    BorderStyle="None" 
                                    BorderWidth="1px" 
                                    CellPadding="3" 
                                    CssClass="nombre_campos"
                                    GridLines="Vertical" 
                                    UseAccessibleHeader="False" DataKeyNames="id_caja_detalle" DataSourceID="sdsIngresos" 
                                    >
                                        <HeaderStyle CssClass="subtitulos_azules" BackColor="#234A8D" BorderStyle="Solid" Font-Bold="True" ForeColor="White" Wrap="True" />
                                        <AlternatingRowStyle BackColor="Gainsboro"  />
                                        <Columns>
                                            <asp:BoundField DataField="id_caja_detalle" HeaderText="id_caja_detalle" 
                                                InsertVisible="False" ReadOnly="True" SortExpression="id_caja_detalle" 
                                                Visible="False" />
                                            <asp:TemplateField HeaderText="Dep.">
                                                <ItemTemplate>
                                                    <asp:CheckBox ID="chkIngreso" runat="server" />
                                                </ItemTemplate>
                                                <EditItemTemplate>
                                                    <asp:CheckBox ID="chkIngreso" runat="server" />
                                                </EditItemTemplate>
                                            </asp:TemplateField>
                                            <asp:BoundField DataField="Fecha" HeaderText="Fecha" SortExpression="Fecha" 
                                                DataFormatString="{0:d}" />
                                            <asp:BoundField DataField="Monto" HeaderText="Monto" SortExpression="Monto" 
                                                DataFormatString="{0:c}" />
                                            <asp:BoundField DataField="Concepto" HeaderText="Concepto" 
                                                SortExpression="Concepto" />
                                        </Columns>
                                        <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                        <RowStyle BackColor="#EEEEEE" ForeColor="#234A8D" />
                                        <PagerStyle BackColor="#234A8D" CssClass="subtitulos_azules" ForeColor="White" HorizontalAlign="Center" />
                                        <SelectedRowStyle BackColor="#598DC1" Font-Bold="True" ForeColor="White" />
                                        <EmptyDataRowStyle  CssClass="subtitulos_azules" BackColor="#234A8D" BorderStyle="Solid" Font-Bold="True" ForeColor="White" Wrap="True" />
                                </asp:GridView>
                                <asp:SqlDataSource ID="sdsIngresos" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:ConnStr %>" 
                                    SelectCommand="Caja_Detalle_Recupera_Periodo" 
                                    SelectCommandType="StoredProcedure">
                                    <SelectParameters>
                                        <asp:ControlParameter ControlID="ddlCaja" Name="Id_caja" 
                                            PropertyName="SelectedValue" Type="Int32" />
                                        <asp:ControlParameter ControlID="dtpFechaIniIngreso" DefaultValue="01/04/2011" 
                                            Name="Fecha_Inicial" PropertyName="selecteddate" Type="DateTime" />
                                        <asp:ControlParameter ControlID="dtpFechaFinIngreso" DefaultValue="05/05/2011" 
                                            Name="Fecha_Final" PropertyName="selecteddate" Type="DateTime" />
                                    </SelectParameters>
                                </asp:SqlDataSource>
                            </td>
                        </tr>
                        <tr align="center" class="subtitulos_azules">
                            <td colspan="4">
                                <asp:Image ID="imgActIngresos" runat="server" ImageUrl="~/imagenes/boton/refrescar.jpg" AlternateText="Actualizar" ToolTip="Actualiza lista" ImageAlign="Middle" onclick="cbpIngresos_ejecuta(1);" />
                                 
                                <asp:Image ID="imgIngresosBack" runat="server" ImageUrl="~/imagenes/boton/regresar.jpg" AlternateText="Actualizar" ToolTip="Regresar" ImageAlign="Middle" onclick="cbpPrincipal_ejecuta(-1);" />
                                
                                 <asp:Image ID="imgDepositar" runat="server" ImageAlign="Middle" 
                                    ImageUrl="~/imagenes/boton/pesos.jpg" ToolTip="Genera Dépósito" onclick="cbpPrincipal_ejecuta(8);" />                                
                                </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                <asp:HiddenField ID="hdnErrIngresos" runat="server" />
                            </td>
                        </tr>
                    </table>
                </eo:CallbackPanel>
            </asp:View>
            <asp:View ID="vwDepositos" runat="server">
                <eo:CallbackPanel ID="cbpDepositos" runat="server" Height="150px" Width="100%">
                    <table width="635px">
                         <tr align="center">
                            <td colspan="4" class="subtitulos_azules" align="center">
                                <asp:Label ID="lblDepositos" Font-Size="X-Large" runat="server" Text="Depósitos"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblFechaIniDepositos" runat="server" Text="Periodo Desde:" CssClass="nombre_campos"></asp:Label>
                            </td>
                            <td>
                                <eo:DatePicker 
                                    ID="dtpFechaIniDepositos" 
                                    runat="server" 
                                    PickerFormat="dd/MM/yyyy" 
                                    AllowMultiSelect="False" ControlSkinID="None" DayCellHeight="16" 
                                    DayCellWidth="22" DayHeaderFormat="Short" DisabledDates="" 
                                    MonthSelectorVisible="True" SelectedDates="" 
                                    TitleLeftArrowDownImageUrl="00040103" TitleLeftArrowImageUrl="00040101" 
                                    TitleRightArrowDownImageUrl="00040104" TitleRightArrowImageUrl="00040102" 
                                    VisibleDate="2011-01-01" WeekSelectorVisible="True" 
                                    WaitMessage="Espere..." ToolTip="Fecha de Compromiso">
                                    <TodayStyle CssText="background-image:url('00040106');" />
                                    <SelectedDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; background-image:url('00040105');color:white;" />
                                    <DisabledDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; COLOR: gray" />
                                    <FooterTemplate>
                                        <div style="FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Tahoma&quot;">
                                            <img src="{img:00040106}"> Hoy: {var:today:MM/dd/yyyy} </img>
                                        </div>
                                    </FooterTemplate>
                                    <CalendarStyle CssText="border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;background-color:white" />
                                    <DayHoverStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:underline" />
                                    <MonthStyle CssText="MARGIN: 0px 4px; cursor:hand" />
                                    <TitleStyle CssText="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; PADDING-BOTTOM: 3px; COLOR: white; PADDING-TOP: 3px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #0054e3" />
                                    <DayHeaderStyle CssText="FONT-SIZE: 11px; COLOR: #0054e3; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Tahoma" />
                                    <DayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:none" />
                                </eo:DatePicker>
                            </td>
                            <td align="right">
                                <asp:Label ID="lblFechaFinDepositos" runat="server" Text="Hasta:" CssClass="nombre_campos"></asp:Label>
                            </td>
                            <td>
                                <eo:DatePicker 
                                    ID="dtpFechaFinDepositos" 
                                    runat="server" 
                                    PickerFormat="dd/MM/yyyy" 
                                    AllowMultiSelect="False" ControlSkinID="None" DayCellHeight="16" 
                                    DayCellWidth="22" DayHeaderFormat="Short" DisabledDates="" 
                                    MonthSelectorVisible="True" SelectedDates="" 
                                    TitleLeftArrowDownImageUrl="00040103" TitleLeftArrowImageUrl="00040101" 
                                    TitleRightArrowDownImageUrl="00040104" TitleRightArrowImageUrl="00040102" 
                                    VisibleDate="2011-01-01" WeekSelectorVisible="True" 
                                    WaitMessage="Espere..." ToolTip="Fecha de Compromiso">
                                    <TodayStyle CssText="background-image:url('00040106');" />
                                    <SelectedDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; background-image:url('00040105');color:white;" />
                                    <DisabledDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; COLOR: gray" />
                                    <FooterTemplate>
                                        <div style="FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Tahoma&quot;">
                                            <img src="{img:00040106}"> Hoy: {var:today:MM/dd/yyyy} </img>
                                        </div>
                                    </FooterTemplate>
                                    <CalendarStyle CssText="border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;background-color:white" />
                                    <DayHoverStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:underline" />
                                    <MonthStyle CssText="MARGIN: 0px 4px; cursor:hand" />
                                    <TitleStyle CssText="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; PADDING-BOTTOM: 3px; COLOR: white; PADDING-TOP: 3px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #0054e3" />
                                    <DayHeaderStyle CssText="FONT-SIZE: 11px; COLOR: #0054e3; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Tahoma" />
                                    <DayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:none" />
                                </eo:DatePicker>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" align="center">
                            
                                <asp:GridView 
                                    ID="gvDepositos" 
                                    runat="server"
                                    AutoGenerateColumns="False"                                    
                                    AllowPaging="True"
                                    AllowSorting="True"
                                    BorderColor="#999999" 
                                    BorderStyle="None" 
                                    BorderWidth="1px" 
                                    CellPadding="3" 
                                    CssClass="nombre_campos"
                                    GridLines="Vertical" 
                                    UseAccessibleHeader="False" 
                                    DataKeyNames="id_Deposito" DataSourceID="sdsDepositos" 
                                    >
                                    <HeaderStyle CssClass="subtitulos_azules" BackColor="#234A8D" BorderStyle="Solid" Font-Bold="True" ForeColor="White" Wrap="True" />
                                    <AlternatingRowStyle BackColor="Gainsboro"  />
                                    <Columns>
                                        <asp:BoundField DataField="id_Deposito" HeaderText="id_Deposito" 
                                            InsertVisible="False" ReadOnly="True" SortExpression="id_Deposito" 
                                            Visible="False" />
                                        <asp:BoundField DataField="Fecha" DataFormatString="{0:d}" HeaderText="Fecha" 
                                            SortExpression="Fecha">
                                            <ItemStyle HorizontalAlign="Center" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="vcBanco_Nombre" HeaderText="Banco" 
                                            SortExpression="vcBanco_Nombre" />
                                        <asp:BoundField DataField="vcCuentaBancaria_NumeroCuenta" HeaderText="Cuenta" 
                                            SortExpression="vcCuentaBancaria_NumeroCuenta" />
                                        <asp:BoundField DataField="Monto" DataFormatString="{0:c}" HeaderText="Monto" 
                                            SortExpression="Monto" />
                                        <asp:TemplateField ShowHeader="False">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                                                    CommandName="Select" Text="Select" Visible="False"></asp:LinkButton>
                                                <asp:Image ID="imgDetDep" runat="server" 
                                                    ImageUrl="~/imagenes/boton/detalleg.jpg" ToolTip="Ver Detalle" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                    <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                    <RowStyle BackColor="#EEEEEE" ForeColor="#234A8D" />
                                    <PagerStyle BackColor="#234A8D" CssClass="subtitulos_azules" ForeColor="White" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#598DC1" Font-Bold="True" ForeColor="White" />
                                    <EmptyDataRowStyle  CssClass="subtitulos_azules" BackColor="#234A8D" BorderStyle="Solid" Font-Bold="True" ForeColor="White" Wrap="True" />
                                </asp:GridView>                            
                                <asp:SqlDataSource ID="sdsDepositos" runat="server" 
                                    ConnectionString="<%$ ConnectionStrings:ConnStr %>" 
                                    SelectCommand="Deposito_Recupera_Periodo" SelectCommandType="StoredProcedure">
                                    <SelectParameters>
                                        <asp:ControlParameter ControlID="ddlCaja" Name="id_Caja" 
                                            PropertyName="SelectedValue" Type="Int32" />
                                        <asp:ControlParameter ControlID="dtpFechaIniDepositos" Name="FechaIni" 
                                            PropertyName="selecteddate" Type="DateTime" />
                                        <asp:ControlParameter ControlID="dtpFechaFinDepositos" Name="FechaFin" 
                                            PropertyName="selecteddate" Type="DateTime" />
                                    </SelectParameters>
                                </asp:SqlDataSource>
                            
                            </td>
                        </tr>
                        <tr align="center" class="subtitulos_azules">
                            <td colspan="4">
                                <asp:Image ID="imgActDepositos" runat="server" ImageUrl="~/imagenes/boton/refrescar.jpg" AlternateText="Actualizar" ToolTip="Actualiza lista" ImageAlign="Middle" onclick="cbpDepositos_ejecuta(1);"/>
                                 
                                <asp:Image ID="imgDepositosBack" runat="server" ImageUrl="~/imagenes/boton/regresar.jpg" AlternateText="Actualizar" ToolTip="Regresa a captura" ImageAlign="Middle" onclick="cbpPrincipal_ejecuta(-1);" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                             </td>
                        </tr>
                    </table>
                    
                </eo:CallbackPanel>
            </asp:View>
        </asp:MultiView>
        <eo:Dialog 
        ID="dlgDescuento" 
        runat="server" 
        BackColor="#EBEBEB" 
        CloseButtonUrl="00070301" 
        ControlSkinID="None" 
        HeaderHtml="Autorización de Descuento" 
        Height="216px" 
        HorizontalAlign="Center" 
        ShadowColor="Gainsboro" 
        ShadowDepth="80" 
        VerticalAlign="Middle" 
        Width="320px"
        AcceptButton="ibtnDctoAceptar"
        CancelButton="ibtnDctoCancelar"
         ClientSideOnAccept="dlgDescuentoReturn"
        >
        <HeaderStyleActive CssText="padding-right: 3px; padding-left: 8px; font-weight: bold; font-size: 10pt; background-image: url(00020213); padding-bottom: 3px; color: white; padding-top: 0px; font-family: 'trebuchet ms';" />
        <BorderImages BottomBorder="00020212" BottomLeftCorner="00020207" 
            BottomRightCorner="00020208" LeftBorder="00020210" RightBorder="00020211" 
            TopBorder="00020209" TopLeftCorner="00020201" TopLeftCornerBottom="00020203" 
            TopLeftCornerRight="00020202" TopRightCorner="00020204" 
            TopRightCornerBottom="00020206" TopRightCornerLeft="00020205" />
        <FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
        <ShowEffect Type="RevealBottomToTop" />
        <ContentTemplate>
            <table>
                <eo:TabStrip ID="TabStrip1" runat="server" Width="350px">
                </eo:TabStrip>
            </table>
            <table>
                <tr>
                    <td align="right">
                        <asp:Label ID="lblDctoFecha" runat="server" CssClass="nombre_campos" Text="Fecha:">
                        </asp:Label>
                    </td>
                    <td>
                        <eo:DatePicker ID="dtpDctoFecha" runat="server" AllowMultiSelect="False" 
                            ControlSkinID="None" DayCellHeight="16" DayCellWidth="22" 
                            DayHeaderFormat="Short" DisabledDates="" 
                            MonthSelectorVisible="True" PickerFormat="dd/MM/yyyy" 
                            
                            TitleLeftArrowDownImageUrl="00040103" TitleLeftArrowImageUrl="00040101" 
                            TitleRightArrowDownImageUrl="00040104" TitleRightArrowImageUrl="00040102" 
                            ToolTip="Fecha de emisión del recibo" VisibleDate="2011-01-01" 
                            WaitMessage="Espere..." WeekSelectorVisible="True" PopupShadowColor="#99CCFF" >
                            <TodayStyle CssText="background-image:url('00040106');" />
                            <SelectedDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; background-image:url('00040105');color:white;" />
                            <DisabledDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; COLOR: gray" />
                            <FooterTemplate>
                                <div style="FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Tahoma&quot;">
                                    <img src="{img:00040106}"> Hoy: {var:today:MM/dd/yyyy} />
                                </div>
                            </FooterTemplate>
                            <CalendarStyle CssText="border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;background-color:white" />
                            <DayHoverStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:underline" />
                            <MonthStyle CssText="MARGIN: 0px 4px; cursor:hand" />
                            <TitleStyle CssText="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; PADDING-BOTTOM: 3px; COLOR: white; PADDING-TOP: 3px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #0054e3" />
                            <DayHeaderStyle CssText="FONT-SIZE: 11px; COLOR: #0054e3; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Tahoma" />
                            <DayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:none" />
                        </eo:DatePicker>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lblDctoRef" runat="server" Text="Referencia:" CssClass="nombre_campos"></asp:Label>
                    </td>
                    <td colspan="3">
                        <asp:TextBox ID="txtDctoRef" runat="server" CssClass="contenido_campos" 
                            Rows="3" TextMode="MultiLine" Width="288px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <asp:Label ID="lblDctoPorc" runat="server" Text="%:" CssClass="nombre_campos"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtDctoPorc" runat="server" CssClass="contenido_campos_derecha" Width="40px" onkeyup="mascara2(this.name,this.type,this.value,6);" onclick="javascript:select(this);" onblur="Calcula_descuento('I');"></asp:TextBox>
                    </td>
                    <td align="right">
                        <asp:Label ID="lblDctoImp" runat="server" Text="Importe:" CssClass="nombre_campos"></asp:Label>
                    </td>
                    <td>
                        <asp:TextBox ID="txtDctoImp" runat="server" CssClass="contenido_campos_derecha" Width="50px" onkeyup="mascara2(this.name,this.type,this.value,6);" onclick="javascript:select(this);" onblur="Calcula_descuento('P');"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td colspan="4">
                                                             
                    </td>
                </tr>
                <tr class="subtitulos_azules">
                    <td>
                         
                    </td>
                    <td align="center" valign="middle">
                        <asp:Image ID="ibtnDctoAceptar" ImageUrl="~/imagenes/boton/aceptar.jpg" runat="server" ToolTip="Aceptar" onclcik="ejecuta_cbpPrincipal(99);" />
                    </td>
                    <td align="center" valign="middle" colspan="2">
                        <asp:Image ID="ibtnDctoCancelar" runat="server" ToolTip="Cancelar" ImageUrl="~/imagenes/boton/cancelar.jpg" />
                    </td>
                </tr>
                <tr>
                    <td>
                              
                    </td>
                </tr>
            </table>
        </ContentTemplate>
        <ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
    </eo:Dialog>
    <asp:HiddenField ID="hdnErrPrincipal" runat="server" />
    <eo:Dialog 
        ID="dlgDeposito" 
        runat="server" 
        BackColor="#EBEBEB" 
        CloseButtonUrl="00070301" 
        ControlSkinID="None" 
        HeaderHtml="Generación de Depósito" 
        Height="216px" 
        HorizontalAlign="Center" 
        ShadowColor="Gainsboro" 
        ShadowDepth="80" 
        VerticalAlign="Middle" 
        Width="320px"
        AcceptButton="imgDlgDepAceptar"
        CancelButton="imgDlgDepCancelar"
        ClientSideOnAccept="dlgDepositoReturn"
        >
        <HeaderStyleActive CssText="padding-right: 3px; padding-left: 8px; font-weight: bold; font-size: 10pt; background-image: url(00020213); padding-bottom: 3px; color: white; padding-top: 0px; font-family: 'trebuchet ms';" />
        <BorderImages BottomBorder="00020212" BottomLeftCorner="00020207" 
            BottomRightCorner="00020208" LeftBorder="00020210" RightBorder="00020211" 
            TopBorder="00020209" TopLeftCorner="00020201" TopLeftCornerBottom="00020203" 
            TopLeftCornerRight="00020202" TopRightCorner="00020204" 
            TopRightCornerBottom="00020206" TopRightCornerLeft="00020205" />
        <FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
        <ShowEffect Type="RevealBottomToTop" />
        <ContentTemplate>
            <eo:CallbackPanel ID="cbpDeposito" runat="server"  onexecute="cbpDeposito_Execute" ClientSideAfterUpdate="cbpDeposito_Back" >
                <table>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblFechaDeposito" runat="server" CssClass="nombre_campos" Text="Fecha:">
                            </asp:Label>
                        </td>
                        <td>
                            <eo:DatePicker ID="dtpFechaDeposito" runat="server" AllowMultiSelect="False" 
                                ControlSkinID="None" DayCellHeight="16" DayCellWidth="22" 
                                DayHeaderFormat="Short"  DisabledDates="" 
                                MonthSelectorVisible="True" PickerFormat="dd/MM/yyyy" 
                                
                                TitleLeftArrowDownImageUrl="00040103" TitleLeftArrowImageUrl="00040101" 
                                TitleRightArrowDownImageUrl="00040104" TitleRightArrowImageUrl="00040102" 
                                ToolTip="Fecha de emisión del recibo" VisibleDate="2011-01-01" 
                                WaitMessage="Espere..." WeekSelectorVisible="True" PopupShadowColor="#99CCFF" >
                                <TodayStyle CssText="background-image:url('00040106');" />
                                <SelectedDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; background-image:url('00040105');color:white;" />
                                <DisabledDayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; COLOR: gray" />
                                <FooterTemplate>
                                    <div style="FONT-WEIGHT: bold; FONT-SIZE: 11px; FONT-FAMILY: Tahoma&quot;">
                                        <img src="{img:00040106}"> Hoy: {var:today:MM/dd/yyyy} />
                                    </div>
                                </FooterTemplate>
                                <CalendarStyle CssText="border-bottom-color:Black;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Black;border-left-style:solid;border-left-width:1px;border-right-color:Black;border-right-style:solid;border-right-width:1px;border-top-color:Black;border-top-style:solid;border-top-width:1px;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;background-color:white" />
                                <DayHoverStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:underline" />
                                <MonthStyle CssText="MARGIN: 0px 4px; cursor:hand" />
                                <TitleStyle CssText="PADDING-RIGHT: 3px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: 8pt; PADDING-BOTTOM: 3px; COLOR: white; PADDING-TOP: 3px; FONT-FAMILY: Tahoma; BACKGROUND-COLOR: #0054e3" />
                                <DayHeaderStyle CssText="FONT-SIZE: 11px; COLOR: #0054e3; BORDER-BOTTOM: black 1px solid; FONT-FAMILY: Tahoma" />
                                <DayStyle CssText="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma; text-decoration:none" />
                            </eo:DatePicker>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblBanco" runat="server" Text="Banco:" CssClass="nombre_campos"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlBanco" runat="server"
                                DataTextField="Descripcion" DataValueField="id_Banco" onchange="cbpDeposito_ejecuta(1);">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="lblCuenta" runat="server" Text="Cuenta:" 
                                CssClass="nombre_campos"></asp:Label>
                        </td>
                        <td>
                            <asp:DropDownList ID="ddlCuentaBancaria" runat="server" 
                                DataSourceID="" DataTextField="Descripcion" 
                                DataValueField="id_Cuentabancaria">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                                
                            <asp:HiddenField ID="hdnErrDeposito" runat="server" />  
                        </td>
                    </tr>
                </table>
            </eo:CallbackPanel>
            <table width="100%">
                <tr class="subtitulos_azules">
                    <td align="center" valign="middle">
                        <asp:Image ID="imgDlgDepAceptar" ImageUrl="~/imagenes/boton/aceptar.jpg" runat="server" ToolTip="Aceptar" onclcik="cbpIngresos_ejecuta(2);" />
                    </td>
                    <td align="center" valign="middle">
                        <asp:Image ID="imgDlgDepCancelar" runat="server" ToolTip="Cancelar" ImageUrl="~/imagenes/boton/cancelar.jpg" />
                    </td>
                </tr>
            </table>
        </ContentTemplate>
        <ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
    </eo:Dialog>
        <eo:Dialog 
            ID="dlgDetalleDep" 
            runat="server" 
            BackColor="#EBEBEB" 
            CloseButtonUrl="00070301" 
            ControlSkinID="None" 
            HeaderHtml="Detalle de Depósito" 
            >
            <HeaderStyleActive CssText="padding-right: 3px; padding-left: 8px; font-weight: bold; font-size: 10pt; background-image: url(00020213); padding-bottom: 3px; color: white; padding-top: 0px; font-family: 'trebuchet ms';" />
            <BorderImages BottomBorder="00020212" BottomLeftCorner="00020207" 
                BottomRightCorner="00020208" LeftBorder="00020210" RightBorder="00020211" 
                TopBorder="00020209" TopLeftCorner="00020201" TopLeftCornerBottom="00020203" 
                TopLeftCornerRight="00020202" TopRightCorner="00020204" 
                TopRightCornerBottom="00020206" TopRightCornerLeft="00020205" />
            <FooterStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
            <ContentTemplate>
                <table>
                    <tr>
                        <td>
                            <asp:GridView 
                                    ID="gvDetalleDep" 
                                    runat="server" 
                                    AutoGenerateColumns="False"                                    
                                    AllowPaging="True"
                                    AllowSorting="True"
                                    BorderColor="#999999" 
                                    BorderStyle="None" 
                                    BorderWidth="1px" 
                                    CellPadding="3" 
                                    CssClass="nombre_campos"
                                    GridLines="Vertical" 
                                    UseAccessibleHeader="False" 
                                    DataKeyNames="id_Deposito_Detalle" 
                                    PageSize="20"
                                    EmptyDataText="¿sta vacio" 
                            >
                                <HeaderStyle CssClass="subtitulos_azules" BackColor="#234A8D" BorderStyle="Solid" Font-Bold="True" ForeColor="White" Wrap="True" />
                                <AlternatingRowStyle BackColor="Gainsboro"  />
                                <Columns>
                                    <asp:BoundField DataField="id_Deposito_Detalle" 
                                        HeaderText="id_Deposito_Detalle" InsertVisible="False" ReadOnly="True" 
                                        SortExpression="id_Deposito_Detalle" Visible="False" />
                                    <asp:BoundField DataField="Caja" HeaderText="Caja" ReadOnly="True" 
                                        SortExpression="caja" />
                                    <asp:BoundField DataField="monto" HeaderText="Importe" SortExpression="monto" 
                                        DataFormatString="{0:c}" />
                                    <asp:BoundField DataField="concepto" HeaderText="Concepto" 
                                        SortExpression="concepto" />
                                </Columns>
                                 <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                                    <RowStyle BackColor="#EEEEEE" ForeColor="#234A8D" />
                                    <PagerStyle BackColor="#234A8D" CssClass="subtitulos_azules" ForeColor="White" HorizontalAlign="Center" />
                                    <SelectedRowStyle BackColor="#598DC1" Font-Bold="True" ForeColor="White" />
                                    <EmptyDataRowStyle  CssClass="subtitulos_azules" BackColor="#234A8D" BorderStyle="Solid" Font-Bold="True" ForeColor="White" Wrap="True" />
                            </asp:GridView>
                        </td>
                    </tr>                    
                </table>
            </ContentTemplate>
            <ContentStyleActive CssText="padding-right: 4px; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; padding-top: 4px; font-family: tahoma" />
        </eo:Dialog>
        <asp:HiddenField ID="hdnIdDeposito" runat="server" />
        <asp:HiddenField id="hdnRowDeposito" runat="server" />
    </eo:CallbackPanel>
</asp:Content>
eo_support
Posted: Thursday, November 3, 2011 5:13:39 PM
Rank: Administration
Groups: Administration

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

We won't review such problem because the root of the problem does not appear to be related to us. When the root of the problem is somewhere else, you will need to debug your code to find that out. We will not debug and find out what that is for you. It really doesn't matter where the problem surfaces. It could surface with another vendor's control or even with standard MS control. We won't investigate just because it happens to surface on us.

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.