Skip to main content

MVCxHtmlEditorFileManagerValidationSettings.MaxFileSize Property

Gets or sets the maximum size of an uploaded file.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public override long MaxFileSize { get; set; }

Property Value

Type Description
Int64

An Int64 value that specifies the maximum file size, in bytes.

Property Paths

You can access this nested property as listed below:

Object Type Path to MaxFileSize
MVCxHtmlEditorAudioSelectorUploadSettings
.ValidationSettings .MaxFileSize
MVCxHtmlEditorFileManagerUploadSettings
.ValidationSettings .MaxFileSize
MVCxHtmlEditorFlashSelectorUploadSettings
.ValidationSettings .MaxFileSize
MVCxHtmlEditorImageSelectorUploadSettings
.ValidationSettings .MaxFileSize
MVCxHtmlEditorVideoSelectorUploadSettings
.ValidationSettings .MaxFileSize

Remarks

If the uploaded file exceeds the MaxFileSize property’s value, an error text specified by the UploadControlValidationSettings.MaxFileSizeErrorText property is displayed in a message box.

See Also