Skip to main content
All docs
V24.2

HtmlEditorImageUploadBuilder.UploadUrl(String) Method

Specifies a target Url for the upload request. Mirrors the client-side uploadUrl option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public HtmlEditorImageUploadBuilder UploadUrl(
    string value
)

Parameters

Name Type Description
value String

The option value.

Returns

Type Description
HtmlEditorImageUploadBuilder

A reference to this instance after the method is called.

Remarks

@(Html.DevExtreme().HtmlEditor()
    .ImageUpload(iupload => iupload 
        .UploadUrl("/UploadDirectory")
    )
)
See Also