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

[.....]