Skip to main content

ASPxHtmlEditorUploadValidationSettingsBase.MaxFileSize Property

Gets or sets the maximum size of an uploaded file.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v24.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.

#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