Limit number of Files to be uploaded

4 posts, 1 answers
  1. chris
    chris avatar
    32 posts
    Member since:
    Jul 2011

    Posted 03 Jan 2012 Link to this post

    Hello everyone,

    I see that there is a way to limit the number of file inputs with the RadAsyncUpload control but what I am trying to do is limit the user to only be able to upload 5 files. Is there a settle that will limit the user to only upload a set number of files?

  2. Answer
    Dimitar Terziev
    Dimitar Terziev avatar
    1266 posts

    Posted 03 Jan 2012 Link to this post

    Hi Chris,

    You could limit the number of the uploaded files using the MaxFileInputsCount property of the RadAsyncUpload. In your case you should set it to 5.

    All the best,
    Dimitar Terziev
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
    CHOON AIK avatar
    7 posts
    Member since:
    Sep 2012

    Posted 22 Jun 2015 in reply to Dimitar Terziev Link to this post

    Drag  and Drop is giving javascript error when "MaxFileInputsCount" property is set.

     Below is my design,

    <telerik:RadAsyncUpload runat="server" ID="rauUpload" 
                        ChunkSize="1048576" InputSize="60" DropZones="#DropZone1" 
                        MaxFileInputsCount="5" MaxFileSize="2000000000" PostbackTriggers="btnUpload" />

  4. Nencho
    Nencho avatar
    1617 posts

    Posted 24 Jun 2015 Link to this post

    Hello Choon,

    I am afraid that I was unable to replicate the mentioned javscript error, using the provided code-snippet. Could you please specify what exactly is the error and what is the version of our controls that you are currently using?

    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 Feedback Portal and vote to affect the priority of the items
Back to Top