c# - File uploading on different pages -
I am stuck in uploading files to different pages. On a page I open a popup where I want to browse the user and choose the files and on the off option, the popup stops and then I want to upload the file from the main page, not with the popup. How can I do that? I am using the following code to get the uploaded files:
HttpFileCollection upload = HttpContext.Current.Request.Files; How can I use this value from the main page, I am using HttpFilecollection on the popup window.
If you give it a thought, then your question is actually how to upload a file from a different page "
The good news is that there are over one million articles on the web, stating how to do this:
A
B.
c.
The value you have to pass has been sent from the HttpFileCollection popup page to the original page. You can then iterate through each HttpPostedFile And according to your logic, you can call it at Save .
Comments
Post a Comment