Skip to main content

FileUploaderBuilder.ReadyToUploadMessage(JS) Method

The message displayed by the UI component when it is ready to upload the specified files. Mirrors the client-side readyToUploadMessage option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public FileUploaderBuilder ReadyToUploadMessage(
    JS value
)

Parameters

Name Type Description
value JS

A JavaScript variable that contains a string value.

Returns

Type Description
FileUploaderBuilder

A reference to this instance after the method is called.

Remarks

Use the new JS() expression to set the option’s value.

<script>
    var myValue = ...;
</script>

@(Html.DevExtreme().FileUploader()
    .ReadyToUploadMessage(new JS("myValue"))
)
See Also