after Deleting a Node AfterDelete Event ist not fired.
Hello,
Just checking if the latest reply helped you out and if you require any further assistance on the matter.
Sincerely,DimiDeveloper Support Engineer, MCPD Infragistics, Inc.www.infragistics.com/support
As the name of the action implies, it removes the selected nodes. Typically this includes the ActiveNode, but it does not necessarily have to. You can ensure that the ActiveNode is selected by selecting it prior to calling PerformAction.
The purpose of an event is to notify you when the user performs some action that you need to respond to. If you remove a node in code, then you know you did it, and you do not need an event to tell you that it happened.
There's no hard and fast rule about this. Sometimes things you do in code will fire an event and sometimes they don't. Even the inbox controls are inconsistent in this regard.
My advice is to take whatever code you placed in the AfterDelete event and move it into a method. The call that method from the AfterDelete event and also from anywhere else in your code where you are removing a node.
version is 10.3
i remove nodes in code because i 've to remove some more data. tree is not bound.i call node.Remove() . event ist not firingdoes performaction.clearallselectednodes remove the activenode?