Declined
Last Updated: 17 Nov 2021 10:01 by ADMIN
Rahul
Created on: 23 Apr 2021 06:54
Category: FileSelect
Type: Feature Request
1
Restric fileupload to 5 files
Hi we want to restrict users to select only five files at a time. after 5 files users shouldnt be able to select more. Currently we only have single or multiple files but a specific number of max files is not there.
1 comment
ADMIN
Martin
Posted on: 17 Nov 2021 10:01

Hi Rahul,

The reason why such a feature is not being implemented is because we don't have control over the number of files that the user selects from the file system and this is mainly because of security reasons.

What can be done is to manually check how many items are trying to be uploaded (on select event for example) and remove the files which exceed the max number with removeFileByUid method (or clear all selected files with clearFiles method).

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.