Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
95
DataValueHistory null error with grids on seperate windows.
posted

Hi,

I have a project were the user can create new views each in a new window (sepearte STA thread and dispatcher), each window has a xamDataGrid bound to a collection, I have enabled data value history (in this case I want a history of 5 items but any number will cause the issue), but I get a null reference exception thrown when the 2nd window/grid is bound to data.

Here is the trace from trying to access the DataValueInfoHistoryCache in debug in ...OnInitializeCellValuePresenter...

((System.Exception)((e.CellValuePresenter.Cell).DataValueInfoHistoryCache)).StackTrace

   at Infragistics.Windows.DataPresenter.DataValueInfoHistory.Create(Int32 capacity)
   at Infragistics.Windows.DataPresenter.Cell.GetDataValueHistoryCache(CellValuePresenter cvp)
   at Infragistics.Windows.DataPresenter.Cell.get_DataValueInfoHistoryCache()

Look forward to any solutions / workarounds?

Thanks,

Chris

 

 

Parents
  • 22852
    Offline posted

    Chris,

    I have logged this with engineering and the reference id is 160385 and I will post the resolution here when this is resolved.  I have also provided more details to you through case CAS-129117-F7X1F5.

    Let me know if you have any questions.

Reply Children
No Data