Actually I'm able to upload one file with the following input
<input type="file" name="FileUpload" style="display: none;" multiple="multiple" accept="image/*" />
But if I select more than one file it's loaded just the first one to the server, so how could I upload all selected files and like limit them to max 3 files?
Here is my codeBehind
Sub LoadImage()
Dim postedFile As HttpPostedFile = Request.Files("FileUpload")
If postedFile IsNot Nothing And postedFile.ContentLength > 0 Then
'Save the File.
Dim filePath As String = Server.MapPath("~/images/") + Path.GetFileName(postedFile.FileName)
postedFile.SaveAs(filePath)
End If
End Sub