[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Web
  [Expand]DevExpress.Web.ASPxGauges
  [Expand]DevExpress.Web.ASPxGauges.Base
  [Expand]DevExpress.Web.ASPxGauges.Scripts
  [Expand]DevExpress.Web.ASPxHtmlEditor
  [Expand]DevExpress.Web.ASPxHtmlEditor.Localization
  [Expand]DevExpress.Web.ASPxHtmlEditor.Scripts
  [Expand]DevExpress.Web.ASPxPivotGrid
  [Expand]DevExpress.Web.ASPxPivotGrid.Data
  [Expand]DevExpress.Web.ASPxPivotGrid.HtmlControls
  [Expand]DevExpress.Web.ASPxPivotGrid.Scripts
  [Collapse]DevExpress.Web.ASPxRichEdit
   [Expand]ASPxRichEdit Class
   [Expand]ASPxRichEditAuthenticationSettings Class
   [Expand]ASPxRichEditAutoCorrectReplaceInfo Class
   [Expand]ASPxRichEditAutoCorrectReplaceInfoCollection Class
   [Expand]ASPxRichEditAutoCorrectReplaceInfoCollectionSettings Class
   [Expand]ASPxRichEditAutoCorrectSettings Class
   [Expand]ASPxRichEditBehaviorSettings Class
   [Expand]ASPxRichEditBookmarkSettings Class
   [Expand]ASPxRichEditCharacterFormattingDetailedSettings Class
   [Expand]ASPxRichEditDocumentCapabilitiesSettings Class
   [Expand]ASPxRichEditFieldsSettings Class
   [Expand]ASPxRichEditHorizontalRulerSettings Class
   [Expand]ASPxRichEditNumberingSettings Class
   [Expand]ASPxRichEditOptionsSpelling Class
   [Expand]ASPxRichEditRangePermissionSettings Class
   [Expand]ASPxRichEditSettings Class
   [Expand]ASPxRichEditSettingsBase Class
   [Expand]ASPxRichEditSimpleViewPaddings Class
   [Expand]ASPxRichEditSimpleViewSettings Class
   [Expand]ASPxRichEditSpellCheckerSettings Class
   [Expand]ASPxRichEditViewsSettings Class
   [Expand]InsertContentToClientEventArgs Class
    InsertContentToClientEventHandler Delegate
   [Expand]RichEditClientSideEvents Class
   [Expand]RichEditDialogSettings Class
   [Expand]RichEditDocumentSelectorCommonSettings Class
   [Expand]RichEditDocumentSelectorSettings Class
   [Expand]RichEditDocumentSelectorUploadSettings Class
   [Expand]RichEditFileManager Class
   [Expand]RichEditFileManagerCommonSettings Class
   [Expand]RichEditFileManagerEditingSettings Class
   [Expand]RichEditFileManagerFoldersSettings Class
   [Expand]RichEditFileManagerStyles Class
   [Collapse]RichEditFileManagerValidationSettings Class
     RichEditFileManagerValidationSettings Members
     RichEditFileManagerValidationSettings Constructor
    [Collapse]RichEditFileManagerValidationSettings Properties
      MaxFileSize Property
   [Expand]RichEditFolderManager Class
   [Expand]RichEditImages Class
   [Expand]RichEditInsertLinkDialogSettings Class
   [Expand]RichEditInsertPictureDialogSettings Class
   [Expand]RichEditPopupMenuItem Class
   [Expand]RichEditPopupMenuItemCollection Class
   [Expand]RichEditRibbonContextTabCategoryCollection Class
    RichEditRibbonMode Enumeration
   [Expand]RichEditRibbonTabCollection Class
   [Expand]RichEditRulerImages Class
   [Expand]RichEditSaveFileDialogSettings Class
    RichEditUnit Enumeration
    RichEditViewType Enumeration
    SaveFileDialogDisplaySectionMode Enumeration
  [Expand]DevExpress.Web.ASPxRichEdit.Localization
  [Expand]DevExpress.Web.ASPxRichEdit.Scripts
  [Expand]DevExpress.Web.ASPxScheduler
  [Expand]DevExpress.Web.ASPxScheduler.Commands
  [Expand]DevExpress.Web.ASPxScheduler.Commands.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Controls
  [Expand]DevExpress.Web.ASPxScheduler.Dialogs
  [Expand]DevExpress.Web.ASPxScheduler.Drawing
  [Expand]DevExpress.Web.ASPxScheduler.Localization
  [Expand]DevExpress.Web.ASPxScheduler.Reporting
  [Expand]DevExpress.Web.ASPxScheduler.Scripts
  [Expand]DevExpress.Web.ASPxSpellChecker
  [Expand]DevExpress.Web.ASPxSpellChecker.Localization
  [Expand]DevExpress.Web.ASPxSpellChecker.Scripts
  [Expand]DevExpress.Web.ASPxSpreadsheet
  [Expand]DevExpress.Web.ASPxSpreadsheet.Localization
  [Expand]DevExpress.Web.ASPxSpreadsheet.Scripts
  [Expand]DevExpress.Web.ASPxTreeList
  [Expand]DevExpress.Web.ASPxTreeList.Internal
  [Expand]DevExpress.Web.ASPxTreeList.Localization
  [Expand]DevExpress.Web.ASPxTreeList.Scripts
  [Expand]DevExpress.Web.Captcha
  [Expand]DevExpress.Web.Data
  [Expand]DevExpress.Web.Internal
  [Expand]DevExpress.Web.Localization
  [Expand]DevExpress.Web.Mvc
  [Expand]DevExpress.Web.Mvc.BinderSettings
  [Expand]DevExpress.Web.Mvc.Controllers
  [Expand]DevExpress.Web.MVC.Scripts
  [Expand]DevExpress.Web.Mvc.UI
  [Expand]DevExpress.Web.Office
  [Expand]DevExpress.Web.Office.Internal
  [Expand]DevExpress.Web.Rendering
  [Expand]DevExpress.Web.Scripts
  [Expand]DevExpress.XtraCharts.Web
  [Expand]DevExpress.XtraCharts.Web.Designer
  [Expand]DevExpress.XtraCharts.Web.Scripts
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

RichEditFileManagerValidationSettings.MaxFileSize Property

Gets or sets the maximum size of an uploaded file within the FileManager embedded into certain built-in dialogs.

Namespace:DevExpress.Web.ASPxRichEdit
Assembly:DevExpress.Web.ASPxRichEdit.v18.2.dll

Expanded Syntax

Property value

Type: Int64
An Int64 value that specifies the maximum file size, in bytes.
The default is 31457280.

Expanded Remarks

By default, the FileManagerSettingsUpload.UseAdvancedUploadMode (accessed via the SettingsDocumentSelector.UploadSettings) is set to true, and the Advanced Upload Mode is used by RichEdit to upload files. In this mode, use the MaxFileSize property to specify the maximum size for uploaded files.

To ensure that file uploading works properly in advanced mode, ASPxUploadProgressHttpHandler should be registered in the web.config file. You can register it manually (see the ASPxUploadProgressHttpHandler topic) or use the DevExpress Project Converter that registers the handler in the web.config file automatically when it converts a project.

Expanded See Also

Is this topic helpful?​​​​​​​