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

Upload stops working after 1 file

1 Answer 86 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Kjell
Top achievements
Rank 1
Kjell asked on 12 Nov 2015, 01:32 AM

My upload control works fine for the first file but not the second.  The "Select" box still allows me to pick a second file, but no events fire.  The files I'm using are very small (a few K) so the first upload is almost instant.

 Here is my control:

 

@(Html.Kendo().Upload()
       .Name("invoiceUpload")
       .Multiple(true)
       .ShowFileList(true)       
       .HtmlAttributes(new { style = "margin-bottom: 10px;" })
       .Async(a => a
           .Save("Invoice", "Upload", new { format = @Model.Format })
           .AutoUpload(true)
       )
       .Events(events => events
           .Success("onSuccess")
           .Select("onSelect")
           .Error("error_handler")
           .Upload("onUpload")
           )
       )

 

The JS events are just alerts to see if anything is happening, they all fire the first time but none for for subsequent file selects.

 I know I'm not giving a ton of info, hoping I'm just missing something obvious.  Please let me know if you need more info.  Thanks in advance to any responders.

 

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 12 Nov 2015, 08:52 AM

Hello Kjell,

The Upload widget configuration looks standard, so we cannot state what is the reason for the problem. Please send us an isolated runnable example that demonstrates the problem, so we could provide assistance.

Regards,
Dimiter Madjarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Upload
Asked by
Kjell
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or