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

Can we set upload files limit for Radasyncuploader ?

2 Answers 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pradip
Top achievements
Rank 1
Pradip asked on 25 Apr 2013, 07:34 AM
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 Answers, 1 is accepted

Sort by
0
Pradip
Top achievements
Rank 1
answered on 29 Apr 2013, 06:40 AM
Hello,
Is there any one can reply me?
Please....
0
Hristo Valyavicharski
Telerik team
answered on 30 Apr 2013, 09:01 AM
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.

Tags
General Discussions
Asked by
Pradip
Top achievements
Rank 1
Answers by
Pradip
Top achievements
Rank 1
Hristo Valyavicharski
Telerik team
Share this question
or