Hi there,
I need to pass an upload point into the path to be able to successfully post my files:
@(Html.Kendo().Upload()
.Name("file")
.Multiple(false)
.Events(e => e
.Error("onError")
.Success("onSuccess")
.Select("onSelect")
)
.Async(a => a
.Save("UploadFile", "Storage", new { uploadpoint = "4FE69113-B190-49B4-ADDC-EB2371C6119A" })
.Batch(false)
.AutoUpload(true)
)
)
I want to make the GUID dynamic based off the selected value of a dropdown. Is there any way to make that route param dynamic either using a function:
new { uploadpoint = GetUploadPoint() }
Or by using javascript to read the selected value of my dropdown?