I have a web form containing a web upload control which works fine:
<ig:WebUpload
ID="WebUpload"
runat="server"
Mode="Multiple"
AutoStartUpload="True" LabelUploadButton="Attach File"
LabelAddButton="Attach File"
onuploadfinished="WebUpload_UploadFinished"
ViewStateMode="Enabled">
</ig:WebUpload>
How do I get a list of uploaded files after the user submits the form (the page submits to itself)?I use the "onuploadfinished" event to store the filename and path into a viewstate, however after submitting the viewstate is empty (null). I have viewstate enabled throughout the entire form. Any ideas what's wrong? Is there a better way of doing this?
Hello pkarski,
This is just a follow up on the thread if you have any questions in regards to storing the list of files within Session. In the code snippet provided shows how to retrieve the list by a button click after uploading files.
Let me know if you have any questions with this matter. Thank you.