We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now


How to get FileUpload to trigger UpdateProgress/ProgressTemplate

RobertNZana asked
Medium Priority
Last Modified: 2012-06-21
I have a FileUpload control that is on an AJAX ASP.NET page.  It is within the UpdatePanel.  In my UpdatePanel I am using the UpdateProgress to display an animated gif that asks the user to please wait.

When I click 'Upload' how do I trigger the UpdateProgress section to work?

Alternatively is there an easier way to (1) either tell the user to please wait or (2) show a progress bar during the upload?

Full working examples with ASPX/AJAX page and code are preferred if possible...
Watch Question

The FileUpload control does not work with the UpdatePanel.  There are ways to make the Upload button fire a javascript function that will display a "Uploading..." div layer, but I found a pretty nice control that works pretty well.


Alternatively, you could make something with an iFrame and javascript, there are a lot of examples of that floating around the asp.net website.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts


My files might be 1-2gb.  Will this support it?


And I want to be able to give it a CUSTOM filename to save as and run a little custom code (db, etc...) after it uploads.
Yes, you can upload large files as long as you set the httpruntime up in the web.config file

   executionTimeout = "seconds"
   maxRequestLength = "KB" />

If you use the obout control, it works just like a normal fileupload control when the file is finished uploading.


You peaked my interest with the obout tools.  So, these work good with ASP.NET and are EASY to implement?  I will be uploading files up to 2gb...
Yes, I've used a few of their controls, and they have all been fairly easy to implement.  Most are just dll files that you add to your toolbox as a control, and drop it right on your form.


Do you know if the file upload tool will allow me to...

1.  run custom code when user clicks 'upload' (save as custom filename, add some info to db, etc)
2.  upload file up to 2gb in size?

Is their licensing really that simple & clearcut, or is there hidden fees etc?

Yes, after the file is finished uploading, you can run custom code on it.

You can upload files up to 2.4 gigs I believe, or whatever the max is that IIS can handle.

You can download and try it out locally without purchasing a license; and yes, a single developer license for 1 developer, unlimited domains, unlimited servers is $99, or $199 for the suite of controls.


Thanks.  And their support is responsive as well?  I have a student id.  I wonder if they give me a license if I can create websites for clients with it?
I haven't had to contact support yet, but I've read good reviews.
Hi, you can use my AJAX upload script http://valums.com/ajax-upload/.
It doesn't add any limits, so you will be able to run a custom code when user clicks 'upload' and files up to 2gb.

Here is the demo http://valums.com/wp-content/uploads/ajax-upload/demo-jquery.htm
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.