PDA

View Full Version : [CLOSED] Multiple File Upload



atroul
Jan 10, 2017, 12:05 PM
If I got it right in FileUploadField:
id.HasFile checks if file exists
createFolder("name") creates the folder "name"
id.PostedFile.SaveAs(path) saves the file in the specific directory

How I can do the same actions in MultiUpload?

fabricio.murta
Jan 10, 2017, 7:35 PM
Hello @atroul!

I'm not sure I get your question but in the multiupload field to get the file handle in code behind you just e.PostedFile. I don't think there's any path information submitted with multiupload, just the file name.

You can experiment with this example: Multiupload - Grid (OnFileUpload="MultiUpload1_FileUpload"). It has a MultiUpload1_FileUpload server side event that handles the uploaded file.

I'm a little confuse also because you entitled the thread after "Multiple File Upload" and ask about actions in the MultiUpload component... but anyway, the example above shows how to deal with multiple uploads at once using the MultiUpload component, so it should cover your questions!

Hope this helps!

fabricio.murta
Jan 21, 2017, 3:05 PM
Hello @atroul!

It has been some time since we replied to this thread but still no feedback from you. Do you still need assistance with this issue?

We're looking forward for your feedback!

atroul
Jan 26, 2017, 9:09 AM
Hello!
No thank you mark it as closed!

fabricio.murta
Jan 27, 2017, 5:55 AM
Thanks for the feedback! I hope you could make your page work the way you needed!