Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
280
BeforeDelete not firing when user presses DEL key
posted

I have a VB.NET application where I'm loading the UltraWinTree from the results of a query (but not using binding) and as I add the nodes to the tree I decide node by node whether to set the OverRide.AllowDelete = True or False.

I've run through the code and verified that the nodes that should have AllowDelete = ture are set properly and I've debugged the code in my AfterSelect Event on the Node to verify it as well.  But after a node is selected and I press the Delete Key the BeforeDelete event doesn't fire.

Thanks,

JCIrwin

Parents
No Data
Reply
  • 12480
    Offline posted

    Hi Jamie,

    I tried to build a sample to reproduce this, but was unsuccessful. In my sample, the BeforeDelete event always fired correctly. Are you able to modify my sample or build a new one that reproduces it?

    Please let me know if you have any questions.

    WinTreeBeforeDelete.zip
Children