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
2114
Null reference Exception When setting a DataSource
posted

When I set co a combobox (v6) as DataSource a list of objects (List(Of T)), An Array, or a LinqQuery result and the specified DataSource is Nothing before attibution, I obtain a NullReferenceException

 

   at Infragistics.Win.UltraWinGrid.UltraGridBand.UnWireDataSource()
   at Infragistics.Win.UltraWinGrid.UltraGridBand.InitListManager(BindingManagerBase bindingManager, String dataMember, UltraGridBand[] oldBands)
   at Infragistics.Win.UltraWinGrid.UltraGridLayout.ListManagerUpdated(BindingManagerBase bindingManager)
   at Infragistics.Win.UltraWinGrid.UltraGridLayout.ListManagerUpdated()
   at Infragistics.Win.UltraWinGrid.UltraGridBase.Set_ListManager(Object newDataSource, String newDataMember)
   at Infragistics.Win.UltraWinGrid.UltraGridBase.set_DataSource(Object value)
   at Keolis.cflGraphiqueHoraire.SelectionAvancee.UpdateVoituresValuesCombo()

 

EDIT:

Some, or all members in the provided collections are Nothing items.

Parents
No Data
Reply
  • 469350
    Offline posted

    Since generics were not implemented in the DotNet framework until well after the release of NetAdvantage 2006, my best guess is that v6 of NetAdvantage simply does not support them.

Children
No Data