Grid with file upload

1 Answer 179 Views
Grid Upload
Akhil
Top achievements
Rank 1
Akhil asked on 27 Jan 2023, 08:57 AM

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?

1 Answer, 1 is accepted

Sort by
0
Stoyan
Telerik team
answered on 31 Jan 2023, 12:37 PM

Hi Akhil,

Based on the provided information it seems that the experienced behavior is covered by the related Grid Upload in Custom Popup Edit Template Knowledge Base article.

Please give the approach suggested in the article a try and let me know whether the issue has been resolved.

Regards,
Stoyan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Grid Upload
Asked by
Akhil
Top achievements
Rank 1
Answers by
Stoyan
Telerik team
Share this question
or