Raised when the user tries to delete a link, this event lets you cancel the operation.
JavaScript Copy Code |
---|
function onLinkDeleting (sender, args) |
LinkDeleting handlers receive an event object of type LinkEventArgs.
When users delete a node, its connecting links are deleted too. However, in that case LinkDeleting validation events are not raised, but just NodeDeleting.
To handle the LinkDeleting event, assign the name of the respective JavaScript function (for example 'onLinkDeleting') to the LinkDeletingScript property.