I am converting from ultrawebtree to webdatatree and its a real pain. I can no longer see a way to get a checked node event on the client side. I can get the checkchanging, but that's not what I want. It will tell me the node, but give me the old check state. What exactly is the intent of the developers here? Should I just live with it and invert my logic?
I want to get the node that was just checked. The node collection in CheckBoxSelectionChanged doesn't help at all since it doesn't tell me what was checked.
Hello cyberplasm,
“CheckBoxSelectionChanged” Client event has new and old checked nodes properties which return the current and previously selected checkboxes on the tree - http://help.infragistics.com/Help/NetAdvantage/ASPNET/2011.2/CLR4.0/html/Infragistics4.Web.v11.2~Infragistics.Web.UI.NavigationControls.WebDataTree~CheckBoxSelectionChanged_EV.html
You can use these properties from the function “eventArgs”.
Use these properties and let me know if they provide you with the required functionality.
So is the idea that you loop through all the nodes, and compare new and old, to find the one that changed? An example in the help would be nice. This seems very tedious just to find the checked node. I have to perform some actions based on the node, and there are hundreds of nodes in the tree.