Hi
In WiseJ upload control, is there any option to add multiple files to the control. If we set “AllowMultipleFiles” to true, then it allows to add multiple files at once.
I am kind of looking for a scenario where an user adds one file, then if we go back to the upload control and tries to add another file, it just overwrites the existing one in the controls text field.
Is there a way to append to the previously added file? Also how do we show each file in separate lines rather than having them colon separated in a single line.
thanks
Praveena
Hi Alaa
Thank you for the reply. I have one more query on this control. Is there a way to get the path of the file that is selected for uploading.
The HttpFileCollection only have info about FileName. Is there any way where we can get the FilePath info too once the files are selected for uploading.
Thanks
praveena
Hi Praveena,
We have a sample that might suit your needs. You can find it here: wisej-examples/UploadFiles at 2.2 · iceteagroup/wisej-examples (github.com)
Wisej makes it easy for you to build your own custom upload control, you can hide the text in the upload button or hide the upload control completely and show a custom list or grid or data repeater or a panel showing the uploaded files in any format.
You can also drag and drop the file(s) from the desktop with AllowDrop = true and with that you can get the file(s) name(s) from the Drop event like in WinForms.
Or you can go with another approach which is having multiple Upload controls, as all upload elements in all browsers takes one or multiple files at a time.
HTH,
Alaa
Please login first to submit.