This is a migrated thread and some comments may be shown as answers.

Kendo Upload widget in Grid in batch editing mode

2 Answers 104 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 29 Oct 2012, 06:25 PM
I was wondering if you could point me to an example showing the kendo upload widget in a Kendo grid, where the grid is saved using a batch update?  I've come across examples for non-batch mode, but none in batch mode.  Basically, I want the user to be able to add or more rows to a grid.  When they add a row, they use the file upload in that row to select an image, and then enter a description for that image.   After they have entered one or more rows, they click on a "Save Changes" button to save all changes as a batch.

Thanks.

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 01 Nov 2012, 05:23 PM
Hi Kevin,

Generally speaking the upload mark-up can be attached via column template. At the dataBound event of the grid you can build the winged. In this forum thread you can find a small example that demonstrates how to create the upload controls. I am not sure if understood your scenario correctly, but the file uploads cannot be send through the DataSource's transport. It is possible to hook up to the success event of the upload widget and set the file name as a value of the Grid's field.

I hope this information will help. In case you need any further assistance, please open a support ticket preferably with a sample project attached and we will do our best to help.

Regards,
Alexander Valchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
-1
Chris
Top achievements
Rank 1
answered on 03 Sep 2019, 10:28 PM
I've managed to get Kendo Upload working perfectly in Batch mode. Basically, you can upload all your files to the browser, then submit the form normally and have them uploaded to the server and/or deleted at the same time.
More details here: Kendo Upload Batch mode
Tags
Grid
Asked by
Kevin
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Chris
Top achievements
Rank 1
Share this question
or