MVCxHtmlEditorFileManagerValidationSettings.MaxFileSize Property
Gets or sets the maximum size of an uploaded file.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v25.1.dll
NuGet Package: DevExpress.Web.Mvc5
Declaration
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 |
|
| MVCxHtmlEditorFileManagerUploadSettings |
|
| MVCxHtmlEditorFlashSelectorUploadSettings |
|
| MVCxHtmlEditorImageSelectorUploadSettings |
|
| MVCxHtmlEditorVideoSelectorUploadSettings |
|
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