Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
Get a list of uploaded files?
posted

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?

 

Parents
No Data
Reply
  • 12004
    posted

    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.

Children
No Data