I have to process the files in the UploadedFiles collection in a certain order (alphabetical). Is that possible from the collection (LINQ?) or should I save the files first to the TargetDirectory and go from there?
Marc
1 Answer, 1 is accepted
0
Vasko
Telerik team
answered on 12 May 2026, 01:12 PM
Hi Marc,
The UploadedFiles collection in RadAsyncUpload reflects the order in which the user selected or dragged the files, not an alphabetical order. There is no built-in property or method to automatically sort the UploadedFiles collection. You do not need to save the files to the TargetDirectory first. You can process the files in alphabetical order directly from the UploadedFiles collection by sorting them with LINQ in your code-behind: