Skip to main content

ASPxClientFileManager.ItemMoved Event

Occurs on the client side after a file manager’s item has been moved.

#Declaration

TypeScript
ItemMoved: ASPxClientEvent<ASPxClientFileManagerItemMovedEventHandler<ASPxClientFileManager>>

#Event Data

The ItemMoved event's data class is ASPxClientFileManagerItemMovedEventArgs. 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 moved.

#Remarks

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

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

See Also