Model:
public string TemplateId { get; set; }
public byte[] Template { get; set; }
public string? Filter { get; set; }
public DateTime ValidFrom { get; set; }
I have Implemented a Grid with a popup editor.
The Template field is used to store the file as Blob in the DB.
In the add row there should be a File upload and in the edit also need a file upload.
I have created a custom template for add row, but the file is not post back to controller.
How can we send the file and the form data in the request to controller?