This question is locked. New answers and comments are not allowed.
In your Razor upload async examples, it appears that the syntax is wrong. I was not able to get them to work as is.
The examples usually have something such as
@(Html.Telerik().Upload()
.Name("attachments")
.Multiple((bool) ViewData["multiple"])
.Async(async => async
.Save("Save", "Upload")
.Remove("Remove", "Upload")
.AutoUpload((bool) ViewData["autoUpload"])
)
)
when really it needs to be below. Notice the parentheses around async. I'm still not sure why the example doesn't work. Perhaps I am missing a dll reference.
@(Html.Telerik().Upload()
.Name("attachments")
.Multiple((bool) ViewData["multiple"])
.Async((async) => async
.Save("Save", "Upload")
.Remove("Remove", "Upload")
.AutoUpload((bool) ViewData["autoUpload"])
)
)
The examples usually have something such as
@(Html.Telerik().Upload()
.Name("attachments")
.Multiple((bool) ViewData["multiple"])
.Async(async => async
.Save("Save", "Upload")
.Remove("Remove", "Upload")
.AutoUpload((bool) ViewData["autoUpload"])
)
)
when really it needs to be below. Notice the parentheses around async. I'm still not sure why the example doesn't work. Perhaps I am missing a dll reference.
@(Html.Telerik().Upload()
.Name("attachments")
.Multiple((bool) ViewData["multiple"])
.Async((async) => async
.Save("Save", "Upload")
.Remove("Remove", "Upload")
.AutoUpload((bool) ViewData["autoUpload"])
)
)