Skip to main content

ASPxRichEdit.DocumentSelectorFolderCreating Event

Fires on the server side before a folder is created within the FileManager (a document selector) embedded into built-in file dialogs, and allows you to cancel the action.

Namespace: DevExpress.Web.ASPxRichEdit

Assembly: DevExpress.Web.ASPxRichEdit.v23.1.dll

NuGet Package: DevExpress.Web.Office


public event FileManagerFolderCreateEventHandler DocumentSelectorFolderCreating

Event Data

The DocumentSelectorFolderCreating event's data class is FileManagerFolderCreateEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the action that raised the event should be canceled. Inherited from FileManagerActionEventArgsBase.
ErrorText Gets or sets a text for the explanatory message. Inherited from FileManagerActionEventArgsBase.
Name Gets the name of the newly created folder.
ParentFolder Gets the parent folder for the newly created item.


Prior to each time a folder is created within the FileManager used within certain built-in file dialogs, the DocumentSelectorFolderCreating event occurs, allowing you to cancel folder creation.

See Also