Skip to main content

HtmlEditorFileManagerValidationSettings.MaxFileSize Property

Gets or sets the maximum size of an uploaded file.

Namespace: DevExpress.Web.ASPxHtmlEditor

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

NuGet Package: DevExpress.Web

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
HtmlEditorFileManagerUploadSettings
.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