HtmlEditorImageUploadBuilder.UploadUrl(String) Method
In This Article
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
C#
public HtmlEditorImageUploadBuilder UploadUrl(
string value
)
#Parameters
Name | Type | Description |
---|---|---|
value | String | The option value. |
#Returns
Type | Description |
---|---|
Html |
A reference to this instance after the method is called. |
#Remarks
@(Html.DevExtreme().HtmlEditor()
.ImageUpload(iupload => iupload
.UploadUrl("/UploadDirectory")
)
)
See Also