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

RadUpload, set RadUpload.MaxFileCount Property

3 Answers 119 Views
Upload
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alex
Top achievements
Rank 1
Alex asked on 19 Jul 2012, 04:04 PM
Hello, I used RadUpload and I want to select 5000 files. But only selected 2083 files. If I choose the 2084 or more files, then do not select any of the files.

<telerik:RadUpload MaxHeight="550" FileUploaded="Upload_FileUploaded" 
  Name="Upload" 
  Filter="Image Files (*.gif;*.jpg;*.jpeg;*.png;*.bmp)|*.gif;*.jpg;*.jpeg;*.png;*.bmp"
  UploadServiceUrl="../Media/MultiplyUploadHandler.ashx" 
  Loaded="Upload_Loaded"
                               FilesSelected="Upload_FilesSelected"
  UploadFinished="Upload_UploadFinished"
  IsAutomaticUpload="False"
  SingleFilePerPostRequest="True"
  IsAppendFilesEnabled="True" BufferSize ="102400000 "
  MaxFileSize="30000000" MaxUploadSize="10240000000" Height="220" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Width="365">
                            </telerik:RadUpload>

3 Answers, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 23 Jul 2012, 10:29 AM
Hi,

 The upload control has no known internal restrictions against the number of files being uploaded. Not being able to select more than certain number of files must be some kind of limitation of the environment.

All the best,
Alex Fidanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Alex
Top achievements
Rank 1
answered on 23 Jul 2012, 12:10 PM
Hello, thanks for the answer. But when  I'm trying select files in demos upload:
http://demos.telerik.com/aspnet-ajax/upload/examples/silverlight/defaultcs.aspx 
I have same result: selected 2083 files. If I choose the 2084 or more files, then do not select any of the files.
0
Tina Stancheva
Telerik team
answered on 26 Jul 2012, 11:11 AM
Hi Alex,

Both controls - RadUpload for Silverlight and RadUpload for ASP.NET AJAX don't include any limitations to the maximum number of files that can be selected. This is why this is probably a browser-related or framework-related limitation.

You can reproduce this issue outside the RadUpload controls - for example in Silverlight you can try opening the files through an OpenFileDialog dialog. The RadUpload for Silverlight uses this class to open the files and has no control over its behavior with so many files.

Greetings,
Tina Stancheva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Upload
Asked by
Alex
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Alex
Top achievements
Rank 1
Tina Stancheva
Telerik team
Share this question
or