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.v19.2.dll

Declaration

public event FileManagerFolderCreateEventHandler DocumentSelectorFolderCreating
Public Event DocumentSelectorFolderCreating As FileManagerFolderCreateEventHandler

Event Data

The DocumentSelectorFolderCreating event handler receives an argument of the FileManagerFolderCreateEventArgs type. 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.
ErrorText Gets or sets a text for the explanatory message.
Name Gets the name of the newly created folder.
ParentFolder Gets the parent folder for the newly created item.

Remarks

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