Hi,
I used Asynchronous Mode of the Upload component in my MVC project, how do I pass extra parameters along with [files] to server side method? My form have kendo dropdown list. I try to pass the selected value to Save action in controller but failed to do so. Could someone help? Thanks.
Second parameter in below Save function should hold that value.
public ActionResult Async_Save(IEnumerable<HttpPostedFileBase> files, string dropdownListValue)
{
// The Name of the Upload component is "files"
if (files != null)
…
…
}
I used Asynchronous Mode of the Upload component in my MVC project, how do I pass extra parameters along with [files] to server side method? My form have kendo dropdown list. I try to pass the selected value to Save action in controller but failed to do so. Could someone help? Thanks.
Second parameter in below Save function should hold that value.
public ActionResult Async_Save(IEnumerable<HttpPostedFileBase> files, string dropdownListValue)
{
// The Name of the Upload component is "files"
if (files != null)
…
…
}