Skip to main content

ASPxClientFileManager.ItemCopied Event

Occurs on the client side after a file manager item has been copied.

#Declaration

TypeScript
ItemCopied: ASPxClientEvent<ASPxClientFileManagerItemCopiedEventHandler<ASPxClientFileManager>>

#Event Data

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

Property Description
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.
oldFolderFullName Gets the full name of the folder from which an item is copied.

#Remarks

The ItemCopied event serves as a notification that a file manager item has been copied. You can use the event parameter’s properties to identify a name (ASPxClientFileManagerActionEventArgsBase.name) or a full name (ASPxClientFileManagerActionEventArgsBase.fullName) of the copied item, and the full name of the folder where an item is copied from (ASPxClientFileManagerItemCopiedEventArgs.oldFolderFullName). The ASPxClientFileManagerActionEventArgsBase.isFolder property indicates the type of the item: file or folder.

To specify whether an item can be copied and cancel the action, handle the ASPxClientFileManager.ItemCopying event.

See Also