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
I was able to figure this out by walking through my code and explaining it to a co-worker.
What we found is that when I load the data from the results of an SQL query I was setting the .AllowDelete = true where I should have been setting it to DefaultableBoolean.True.
All is well now.
Hi Jamie,
Thank you for providing us with your solution to this issue. Please feel free to let us know if anything else comes up.