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

StartUpload does not work with multiple files selection

3 Answers 52 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Mohamed
Top achievements
Rank 1
Mohamed asked on 22 Aug 2011, 11:25 PM

Dear support,

RadControls for Silverlight Q2 2011,
I am using the RadUpload control and I am trying to start the Upload process programmatically after the files is selected in he FileDialog
this is working fine when I attempt to upload on file, but when selecting multiple files it is not work fine all the time, sometimes it works fine and sometimes it display the pause button like if something is being uploaded but infact nothing is uploaded and the progress bar does not move. I checked the RadUpload's Items.Count property before upload and it has the number of files that I selected. Kindly tell me if I have to do something before calling StartUpload().

Mo

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 25 Aug 2011, 03:46 PM
Hi Mohamed,

 Currently, we are not aware of such existing issue in the RadUpload control. Are you able to reproduce this in this demo? On the other hand, we would highly appreciate if you can send us a runnable sample demonstrating your problem, this way we would investigate it better and provide you with an advice or workaround. Thank you for your cooperation.

Best wishes,
Petar Mladenov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Mohamed
Top achievements
Rank 1
answered on 26 Aug 2011, 08:52 PM
Hi Petar,

Solved,
I created a Telerik support ticket with attached sample and the answer is: 
You have to slow down the invocation of StartUpload a little like so:
privatevoiduxRadUpload_FilesSelected(objectsender, FilesSelectedEventArgs e)
 {
     Dispatcher.BeginInvoke(()=> uxRadUpload.StartUpload());
}

and this solved the problem. also DispatcherTimer can help if this doesn't solve.

Thanks Petar
0
Nathan
Top achievements
Rank 1
answered on 17 Jan 2012, 05:19 PM
I had a similar issue.
Please vote to get this RadUpload StartUpload issue resolved:

http://www.telerik.com/support/pits.aspx#/details/Issue=9384
Tags
Upload
Asked by
Mohamed
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Mohamed
Top achievements
Rank 1
Nathan
Top achievements
Rank 1
Share this question
or