Deepa,
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.
Thanks
Here is the stack
System.NullReferenceException was unhandled by user code
Message="Object reference not set to an instance of an object."
Source="Syncfusion.Tools.Windows"
StackTrace:
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.CurrentRecordManager.Reset()
at Syncfusion.Grouping.Table.bindingList_ListChanged(Object sender, ListChangedEventArgs e)
>Hi Wolfgang,
>
>Sorry for the delay in getting back to you.
>
>Yes , the TreeViewDataBound sample works fine with v4.1.0.50 of the Essential Studio.The library provided also references the latest version v4.1.0.50 .As a new version ,the patch for the v4.1.0.56 is also available.I have send the Essential Suite v4.1.0.56 link in the Direct trac incident 24018.
>
>
Treedatabinding
>
>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.
>
>Regards,
>
>Deepa.T.S
>