Click here to Skip to main content
15,890,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I am trying to use some FileUpload controls in a ASP.NET application. They are outside UpdatePanels, and so is the "upload button" that triggers their upload code in the server. If I set the upload button as a trigger to an UpdatePanel so that I can show a processing gif while the files are uploading, then all the FileUpload controls report their HasFile property as false. To clarify, I have the same number of objects in my page (FileUploads, button and UpdatePanel) and the only thing I am switching back and forth is setting the button as an asynchronous trigger in the Triggers section of the UpdatePanel. Would someone know why this is happening or how to work around it? If that is standard behavior, would someone know how I can achieve showing something (whether a pop-up, gif, label, darken the screen) after I click the upload button to give indication of processing while the files upload?

THANK YOU!
Posted

1 solution

Please visit following:

http://www.codeproject.com/KB/webforms/FileUploadWithProgrss.aspx
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900