ASPxClientFileManager.ItemCopying Event

Fires on the client side before an item is copied and allows you to cancel the action.

Declaration

ItemCopying: ASPxClientEvent<ASPxClientFileManagerItemEditingEventHandler<ASPxClientFileManager>>

Event Data

The ItemCopying event's data class is ASPxClientFileManagerItemEditingEventArgs. The following properties provide information specific to this event:

Property Description
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. Inherited from ASPxClientFileManagerActionEventArgsBase.
isFolder Gets a value specifying whether the current processed item is a folder. Inherited from ASPxClientFileManagerActionEventArgsBase.
name Gets the name of the currently processed item. Inherited from ASPxClientFileManagerActionEventArgsBase.

Remarks

Each time an item is going to be copied, the ItemCopying 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 copied item. The ASPxClientFileManagerActionEventArgsBase.isFolder property indicates the type of the item currently being processed: file or folder.

To cancel the coping operation, set the ASPxClientFileManagerItemEditingEventArgs.cancel property to true.

After an item has been copied, the ASPxClientFileManager.ItemCopied event is raised.

See Also