Skip to main content

MVCxHtmlEditorVideoSelectorSettings.FileUploading Property

Enables you to perform custom actions before a file is uploaded in the Video Selector, and allows you to cancel the action.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.2.dll

Declaration

public FileManagerFileUploadEventHandler FileUploading { get; set; }

Property Value

Type Description
FileManagerFileUploadEventHandler

An FileManagerFileUploadEventHandler delegate method allowing you to implement custom processing.

Property Paths

You can access this nested property as listed below:

Object Type Path to FileUploading
MVCxHtmlEditorInsertVideoDialogSettings
.SettingsVideoSelector .FileUploading

Remarks

The delegate method parameter’s FileManagerFileUploadEventArgs.File property identifies the file that is being processed. To cancel the upload operation, set the FileManagerActionEventArgsBase.Cancel property to true. To show a message explaining the reason for the upload cancellation, specify the FileManagerActionEventArgsBase.ErrorText property.

See Also