RadUpload, set RadUpload.MaxFileCount Property

4 posts, 0 answers
  1. Alex
    Alex avatar
    2 posts
    Member since:
    Jul 2012

    Posted 19 Jul 2012 Link to this post

    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>
  2. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 23 Jul 2012 Link to this post

    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.

  3. DevCraft banner
  4. Alex
    Alex avatar
    2 posts
    Member since:
    Jul 2012

    Posted 23 Jul 2012 Link to this post

    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.
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Jul 2012 Link to this post

    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.

Back to Top