Skip to main content
All docs
V24.1
JS

HtmlEditorImageUploadFileUploadMode Enum

Specifies the image upload mode.

Namespace: DevExtreme.AspNet.Mvc

Assembly: DevExtreme.AspNet.Core.dll

Declaration

[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