Skip to main content

ASPxClientFileManager.ItemRenamed Event

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

Declaration

ItemRenamed: ASPxClientEvent<ASPxClientFileManagerItemRenamedEventHandler<ASPxClientFileManager>>

Event Data

The ItemRenamed event's data class is ASPxClientFileManagerItemRenamedEventArgs. 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.
oldName Gets the previous name of the renamed item.

Remarks

The ItemRenamed event serves as a notification that an item has been renamed. You can use the event parameter’s properties to identify a name (ASPxClientFileManagerActionEventArgsBase.name), a full name (ASPxClientFileManagerActionEventArgsBase.fullName), and an old name (ASPxClientFileManagerItemRenamedEventArgs.oldName) of the renamed item. The ASPxClientFileManagerActionEventArgsBase.isFolder property indicates the type of the item: file or folder.

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

See Also