ASPxFileManager.ItemRenamed Event
Occurs on the server side after an item has been renamed.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Event Data
The ItemRenamed event's data class is FileManagerItemRenamedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Item | Gets an item related to the event. |
OldName | Gets an item’s previous name. |
Remarks
The ItemRenamed event serves as a notification that an item has been renamed. You can use the event parameter’s properties to get the renamed item (FileManagerItemRenamedEventArgs.Item), or the item’s old name (FileManagerItemRenamedEventArgs.OldName).
To specify whether an item can be renamed, and cancel the action, handle the ASPxFileManager.ItemRenaming event.