ASPxClientFileManager.FolderCreated Event
Occurs on the client side after a folder has been created.
Declaration
FolderCreated: ASPxClientEvent<ASPxClientFileManagerItemCreatedEventHandler<ASPxClientFileManager>>
Event Data
The FolderCreated event's data class is ASPxClientFileManagerItemCreatedEventArgs. 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. |
Remarks
The FolderCreated event serves as a notification that a folder has been created. You can use the event parameter’s properties to identify a name (ASPxClientFileManagerActionEventArgsBase.name) or a full name (ASPxClientFileManagerActionEventArgsBase.fullName) of the newly created folder. The ASPxClientFileManagerActionEventArgsBase.isFolder property is always set to true
for this event.
To specify whether a folder can be created, and cancel the action, handle the ASPxClientFileManager.FolderCreating event.