[CLOSED] Problem with RowExpander

  1. #1

    [CLOSED] Problem with RowExpander

    Last edited by Daniil; Aug 15, 2012 at 10:29 AM. Reason: [CLOSED]
  2. #2
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    I am getting
     Compiler Error Message: CS0246: 
    The type or namespace name 'CxPSaldoVencido' could not be found (are you missing a using direct
    Is all code related to the problem? Could you simplify? Just it looks too long.

    The code behind you can place directly on the ASPX page wrapping in:
    <script runat="server">
       //code behind
    </script>


    Is there any error, exception?

    I'm sorry this is a class:

    
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    
    namespace ERP.Dashboard.EL
    {
        public class CxPSaldoVencido
        {
            #region Campos
    
            string proveedor;
            string movimiento;
            string referencia;
            DateTime emision;
            DateTime vencimiento;
            int dias;
            decimal vencido;
            decimal plazo1;
            decimal plazo2;
            decimal plazo3;
            decimal plazo4;
            decimal plazo5;
            decimal plazo6;
            decimal total;
    
            #endregion
    
            #region Propiedades
    
            public string Proveedor
            {
                get { return proveedor; }
                set { proveedor = value; }
            }
            
            public string Movimiento
            {
                get { return movimiento; }
                set { movimiento = value; }
            }
            
            public string Referencia
            {
                get { return referencia; }
                set { referencia = value; }
            }
            
            public DateTime Emision
            {
                get { return emision; }
                set { emision = value; }
            }
            
            public DateTime Vencimiento
            {
                get { return vencimiento; }
                set { vencimiento = value; }
            }
            
            public int Dias
            {
                get { return dias; }
                set { dias = value; }
            }
            
            public decimal Vencido
            {
                get { return vencido; }
                set { vencido = value; }
            }
            
            public decimal Plazo1
            {
                get { return plazo1; }
                set { plazo1 = value; }
            }
            
            public decimal Plazo2
            {
                get { return plazo2; }
                set { plazo2 = value; }
            }
            
            public decimal Plazo3
            {
                get { return plazo3; }
                set { plazo3 = value; }
            }
            
            public decimal Plazo4
            {
                get { return plazo4; }
                set { plazo4 = value; }
            }
            
            public decimal Plazo5
            {
                get { return plazo5; }
                set { plazo5 = value; }
            }
            
            public decimal Plazo6
            {
                get { return plazo6; }
                set { plazo6 = value; }
            }
    
            public decimal Total
            {
                get { return total; }
                set { total = value; }
            }
    
            #endregion
        }
    }
  4. #4
    Please replace
    protected void Page_Load(object sender, EventArgs e)
    {
        PrimerNivel();
    }
    with
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!X.IsAjaxRequest)
        {
            PrimerNivel();
        }
    }
  5. #5
    Quote Originally Posted by Daniil View Post
    Please replace
    protected void Page_Load(object sender, EventArgs e)
    {
        PrimerNivel();
    }
    with
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!X.IsAjaxRequest)
        {
            PrimerNivel();
        }
    }
    This is working, thank you.

Similar Threads

  1. [CLOSED] Problem with RowExpander Level3
    By osef in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 15, 2012, 11:23 PM
  2. [CLOSED] Component focus problem in the rowExpander
    By albayrak in forum 1.x Legacy Premium Help
    Replies: 19
    Last Post: Jan 18, 2012, 7:42 AM
  3. Replies: 2
    Last Post: Aug 17, 2011, 9:58 PM
  4. [CLOSED] [1.0] RowExpander Bug
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 18, 2010, 8:43 AM
  5. [CLOSED] RowExpander
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 22, 2009, 2:53 PM

Tags for this Thread

Posting Permissions