Skip to main content

FileUploaderBuilder.AllowCanceling(Boolean) Method

Specifies if an end user can remove a file from the selection and interrupt uploading. Mirrors the client-side allowCanceling option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FileUploaderBuilder AllowCanceling(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
FileUploaderBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().FileUploader()
    .AllowCanceling(true)
)
See Also