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.v20.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:

Library Object Type Path to MaxFileSize
ASP.NET Controls and MVC Extensions ASPxHtmlEditorAudioUploadSettings
.ValidationSettings .MaxFileSize
ASPxHtmlEditorFlashUploadSettings
.ValidationSettings .MaxFileSize
ASPxHtmlEditorImageUploadSettings
.ValidationSettings .MaxFileSize
ASPxHtmlEditorVideoUploadSettings
.ValidationSettings .MaxFileSize
ASP.NET MVC Extensions 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