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

ASPxClientFileManager.FolderCreating Event

Fires on the client side before the folder is created, and allows you to cancel the action.

Declaration

FolderCreating: ASPxClientEvent<ASPxClientFileManagerItemEditingEventHandler<ASPxClientFileManager>>

Event Data

The FolderCreating event handler receives an argument of the ASPxClientFileManagerItemEditingEventArgs type. The following properties provide information specific to this event.

Property Description
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.
isFolder Gets a value specifying whether the current processed item is a folder.
name Gets the name of the currently processed item.

Remarks

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.

See Also