I have a grid that is using a custom editor template (pop up). I would like when a user is ready to create a new entry, they have the choice to upload a list of files as well.
In my custom editor I have this:
@(Html.Kendo().Upload() .Name("files") .HtmlAttributes(new { aria_label = "files" }) )
In my Grid model, it has a member that looks like this: (Entry is the class name)
public IEnumerable<IFormFile> files {get;set;}
And my controller signature looks like this :
public ActionResult Create_Entry(Entry entry, [DataSourceRequest] DataSourceRequest request)
However Entry.files is always null. I cant seem to get the file upload widget to bind to that mode property?
I have tried adding an extra parameter for files in the controller params but that doesnt work either.
Any help is appreciated.