The requested page is not available for the requested platform. You are viewing the content for Default platform.

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 handler receives an argument of the ASPxClientFileManagerItemRenamedEventArgs type. The following properties provide information specific to this event.

Property Description
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.
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