I just experienced that the TreeViewDataBound
is pretty buggie. Basically when I call
the dataSet.tables["mytable"].clear() after
the TreeViewDataBound control is deleted, it has
null reference exception
I guess table.clear() is trying call the events
that was assoicated the deleted treeViewDataBound control.
I think the TreeViewDataBound need to handle
to clear all the DB_xxxEvent when the TreeViewDataBound control is delete (or disposed
if you want this word).
What do you think how sooon we have newer
version of TreeViewDataBound.
Here is the stack
System.NullReferenceException was unhandled by user code
Message="Object reference not set to an instance of an object."
at Syncfusion.Windows.Forms.Tools.TreeViewAdv.set_SelectedNode(TreeNodeAdv value)
at Syncfusion.Windows.Forms.Tools.TreeViewAdvDataBound.DS_CurrentRecordManagerReset(Object sender, EventArgs args) in D:\SMD\TransPower\MOI\MOI\TreeViewAdvDataBound_Lib\TreeViewAdvDataBound.cs:line 824
at Syncfusion.Grouping.Table.OnCurrentRecordManagerReset(TableEventArgs e)
at Syncfusion.Grouping.Table.bindingList_ListChanged(Object sender, ListChangedEventArgs e)
>Sorry for the delay in getting back to you.
>Yes , the TreeViewDataBound sample works fine with v126.96.36.199 of the Essential Studio.The library provided also references the latest version v188.8.131.52 .As a new version ,the patch for the v184.108.40.206 is also available.I have send the Essential Suite v220.127.116.11 link in the Direct trac incident 24018.
>Please take a look at the sample and let me know if you need further assistance. We appreciate and thank for your continued interest in Syncfusion products.