Fires on the client side before an item is moved and allows you to cancel the action.
The ItemMoving event handler receives an argument of the ASPxClientFileManagerItemEditingEventArgs type. The following properties provide information specific to this event.
|cancel||Gets or sets a value indicating whether the action which raised the event should be canceled.|
|fullName||Gets the full name of the item currently being processed.|
|isFolder||Gets a value specifying whether the current processed item is a folder.|
|name||Gets the name of the currently processed item.|
Each time an item is going to be moved, the ItemMoving event occurs, allowing you to cancel the action. You can use the event parameter's properties to identify a name (ASPxClientFileManagerActionEventArgsBase.name) or a full name (ASPxClientFileManagerActionEventArgsBase.fullName) of the moved item. The ASPxClientFileManagerActionEventArgsBase.isFolder property indicates the type of a currently being processed item: file or folder.
To cancel the moving operation, set the ASPxClientFileManagerItemEditingEventArgs.cancel property to true.
After an item has been moved, the ASPxClientFileManager.ItemMoved event is raised.