Hello,
During page.prerender I initialize my WebDataTree.To start an action with the selected node I have added a button on the form.
During the Button_click event I identify the selected node by webdataTree.ActiveNode.
But ActiveNode has forgotten its dataitem. It is nothing :-(
All other properties seem to be availlable. What can be happend with the DataItem property?
best regardsAndreas
Hi Kevin,
Would you be so kind as to provide us with a sample reproducing the issue? We can pick it up from there to try and help you with resolving it!
Thanks a lot for using the Infragistics forums!
I am having a similar issue. I am able to access the DataItem in the NodeBound event but then can't access it later when calling a method. The nodes are there but their DataItem is null (C#).
Kevin
Hi there,
The ActiveNode and the SelectedNode are two different things. If you unselect a node the ActiveNode would infact be the node you have interacted with last (the unselected node). Try to use SelectedNodes[0].DataItem if you don't have multiple selection. This should do the trick!
I hope this helps!