Fires on the client side before the folder is created, and allows you to cancel the action.
The FolderCreating event's data class is ASPxClientFileManagerItemEditingEventArgs. The following properties provide information specific to this event:
|cancel||Gets or sets a value indicating whether the action which raised the event should be canceled.|
|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.|
Each time a folder is going to be created on the client side, the FolderCreating event occurs, allowing you to cancel folder creation. You can use the event parameter’s properties to identify a name (ASPxClientFileManagerActionEventArgsBase.name) or a full name (ASPxClientFileManagerActionEventArgsBase.fullName) of the folder, where a new folder is being created. The ASPxClientFileManagerActionEventArgsBase.isFolder property is always set to true for this event.
To cancel the create operation, set the ASPxClientFileManagerItemEditingEventArgs.cancel property to true.
After a folder has been created, the ASPxClientFileManager.FolderCreated event is raised.