Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
What if the max = 3 files. First time, user selects 2 files, but files are not auto uploaded...Then user selects 2 more files...How can I stop them and or just add 1 file so that it equals 3 before I upload them? Thanks
Martin
Telerik team
commented on 26 Nov 2024, 11:32 AM
Hello, Mark,
The code can be modified as in this Dojo example to prevent selecting more than 5 files. I am not sure if it would be possible to only select 1 in order to fit the max files allowed. A custom logic will also need to be added to reduce the variable that stores the number of the selected files when the user removes a file from the Upload list.