views:

35

answers:

0

Hi

I wonder what is the problem when i databind to an IList..

For some reason i can't bind to an Observablecollection and when i databing my grid (a Devexpress grid) to my IList i have many refresh issues.

<c:GridControlEx x:Name="grdCT"                          
                               DataSource="{Binding CDTransf}">

Where CDTransf is defined this way:

 private IList<TC> cDTransf;
        public IList<TC> CDTransf
        {
            get
            {                       
                cDTransf= dataAccess.LoadTransfLines(NewTransf);
                return cDTransf;
            }
            set
            {
                cDTransf= value;
                RaisePropertyChanged("CDTransf");
            }
        }

thanks j