Skip to main content
A newer version of this page is available. .

ASPxHtmlEditorUploadValidationSettingsBase.MaxFileSize Property

Gets or sets the maximum size of an uploaded file.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v18.2.dll

Declaration

[DefaultValue(31457280L)]
public override long MaxFileSize { get; set; }

Property Value

Type Default Description
Int64 31457280

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
ASPxHtmlEditorAudioUploadSettings
.ValidationSettings.MaxFileSize
ASPxHtmlEditorFlashUploadSettings
.ValidationSettings.MaxFileSize
ASPxHtmlEditorImageUploadSettings
.ValidationSettings.MaxFileSize
ASPxHtmlEditorVideoUploadSettings
.ValidationSettings.MaxFileSize
MVCxHtmlEditorAudioUploadSettings
.ValidationSettings.MaxFileSize
MVCxHtmlEditorFlashUploadSettings
.ValidationSettings.MaxFileSize
MVCxHtmlEditorImageUploadSettings
.ValidationSettings.MaxFileSize
MVCxHtmlEditorVideoUploadSettings
.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