(Html.devextreme ().

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

@(Html.DevExtreme().FileUploader()
    .DialogTrigger(new JS("myValue"))
)
Prickly Pollan