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

is there a bug with FileUploaded event?

5 Answers 85 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 2
Kevin asked on 09 Jun 2010, 07:08 PM
If you upload multiple files, and debug the FileUploaded event handler and look at the event args for SelectedFile, it always passes the first file uploaded.  It should have the subsequent files in the variable on the event handler for the other files.  I'm looking at the example code you have in the demos for the image gallery.  Your demo has this bug which you can see.
Thanks.

5 Answers, 1 is accepted

Sort by
0
JDT
Top achievements
Rank 1
answered on 12 Jun 2010, 09:05 PM
This is a bug introduced in the latest silverlight release this June. Sp2. Could we get a fix ASAP? in the FileUploaded handler "e.SelectedFile.File" is always the last filename in the list when uploading multiple files. This is causing problems in our application. When fixing it please make sure the return parameters for the handler are also the correct ones for the right file.

Thanks!
0
Valentin.Stoychev
Telerik team
answered on 15 Jun 2010, 01:17 PM
Hi all,

Yes - we will fix this issue with our next release. Thank you for your immediate feedback on this!

Best wishes,
Valentin.Stoychev
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
Valentin.Stoychev
Telerik team
answered on 15 Jun 2010, 01:19 PM
Hi JDT,

If you need the fix earlier - please send us a new support ticket and we will send you the updated internal binaries.

Best wishes,
Valentin.Stoychev
the Telerik team

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 Public Issue Tracking system and vote to affect the priority of the items.
0
AndyRutter
Top achievements
Rank 2
answered on 12 Jul 2010, 07:06 PM
Hi I have a slightly different problem here and am wondering if it is the same bug?
If I upload one file there is no problem.
However on uploading multiple files the selectedfile property appears to always be 1 file out.
It ignores the first file uploaded and sets the selectedfile properties to that of the second file in the list, this then goes on with the selectedfile property always being offset by one. Once it reaches the final file it retrieves the correct properties, so the last 2 files uploaded have the same selectedfile results.

 
0
Vladislav
Telerik team
answered on 13 Jul 2010, 08:36 AM
Hello BrianTurner,

Please check my response in the support ticket opened by you on the subject.

Sincerely yours,
Vladislav
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Upload
Asked by
Kevin
Top achievements
Rank 2
Answers by
JDT
Top achievements
Rank 1
Valentin.Stoychev
Telerik team
AndyRutter
Top achievements
Rank 2
Vladislav
Telerik team
Share this question
or