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
555
NullReferenceException when adding item to the datasource bound to the tree
posted

Hi,

We have a tree bound to a hierarchical datasource, when a new item is added to the lowests levels there is no problem, but when a new item is added to the deepest leaf  level (generating a new level) we get this NullReferenceException, any idea?

Thanks

Infragistics2.Win.UltraWinTree.v10.3.dll!Infragistics.Win.UltraWinTree.TreeNodesCollection.dataList_ItemAdded(System.ComponentModel.ListChangedEventArgs e = {System.ComponentModel.ListChangedEventArgs}) + 0x16d bytes
Infragistics2.Win.UltraWinTree.v10.3.dll!Infragistics.Win.UltraWinTree.TreeNodesCollection.dataList_ListChanged(object sender = Count = 1, System.ComponentModel.ListChangedEventArgs e = {System.ComponentModel.ListChangedEventArgs}) + 0x4f bytes
System.dll!System.ComponentModel.BindingList<System.__Canon>.OnListChanged(System.ComponentModel.ListChangedEventArgs e) + 0x17 bytes
System.dll!System.ComponentModel.BindingList<System.__Canon>.FireListChanged(System.ComponentModel.ListChangedType type, int index) + 0x35 bytes
System.dll!System.ComponentModel.BindingList<System.__Canon>.InsertItem(int index, System.__Canon item) + 0x3f bytes

[.....]

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello jcmarq,

    It is hard for me to determine the source of the problem from what you have posted. So could you please try to attach if possible a small sample project, which reproduces this issue, I will be happy to take a look at it and assist you further on that matter.

Children