Can we set upload files limit for Radasyncuploader ?

3 posts, 0 answers
  1. Pradip
    Pradip avatar
    6 posts
    Member since:
    Aug 2012

    Posted 25 Apr 2013 Link to this post

    Hi,
    I am using Radasyncuploader for uploading multiple files.
    Here the issue is that i am not able to set number of file limit for the uploader (I want to upload maximum 10 images not more that that),
    I used here 'MaxFileInputsCount="10"' for this but it takes more than 10 files (ex. When we select 7 files for 1st time & 5 files for 2nd time then the control is invisible but it takes here 12 files, I want to limit here for 10 files).

    Please Help me.

    Thanks You!.. 
      
  2. Pradip
    Pradip avatar
    6 posts
    Member since:
    Aug 2012

    Posted 29 Apr 2013 Link to this post

    Hello,
    Is there any one can reply me?
    Please....
  3. DevCraft banner
  4. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 30 Apr 2013 Link to this post

    Hi Pradip,

    Do you use MultipleFileSelection? The scenario where MaxFileInputsCount is set and MultipleFileSelection="true" is not supported, because there is no way to know how many files have been selected from the browser.
    You could handle the OnClientFilesSelected event and display a notification message that the user has been exceed the maximum allowed number.

    Kind regards,
    Hristo Valyavicharski
    the Telerik team

    Consider using RadControls for ASP.NET AJAX (built on top of the ASP.NET AJAX framework) as a replacement for the Telerik ASP.NET Classic controls, See the product support lifecycle here.

Back to Top