Skip to main content
All docs
V24.2
JS

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HtmlEditorImageUploadFileUploadMode Enum

Specifies the image upload mode.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

#Declaration

C#
[JsonConverter(typeof(StringEnumConverter))]
public enum HtmlEditorImageUploadFileUploadMode

#Members

Name Description
Base64

Uploads images to Base64 format.

Server

Uploads images to the server.

Both

Uploads images to Base64 format and to the server.

#Remarks

Use the FileUploadMode(HtmlEditorImageUploadFileUploadMode) method to specify the image upload mode.

@(Html.DevExtreme().HtmlEditor()
    .ImageUpload(iupload => iupload
        .FileUploadMode(HtmlEditorImageUploadFileUploadMode.Both)
        // ...
    )
)
See Also