Skip to main content
All docs
V24.1

HtmlEditorImageUploadBuilder.FileUploadMode(HtmlEditorImageUploadFileUploadMode) Method

Specifies how the HtmlEditor UI component uploads files. Mirrors the client-side fileUploadMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public HtmlEditorImageUploadBuilder FileUploadMode(
    HtmlEditorImageUploadFileUploadMode value
)

Parameters

Name Type Description
value HtmlEditorImageUploadFileUploadMode

An enumeration value.

Returns

Type Description
HtmlEditorImageUploadBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

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