ASPxSpreadsheet.DocumentSelectorFolderCreating Event
Fires on the server side before a folder is created within the FileManager embedded into built-in dialogs, and allows you to cancel the action.
Namespace: DevExpress.Web.ASPxSpreadsheet
Assembly: DevExpress.Web.ASPxSpreadsheet.v24.1.dll
NuGet Package: DevExpress.Web.Office
Declaration
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. |
Remarks
Prior to each time a folder is created within the FileManager used within certain built-in dialogs, the DocumentSelectorFolderCreating event occurs, allowing you to cancel folder creation.
See Also