Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

82
Views
Event/indication when a File has Ended Upload with a FileUpload Control

On my web page I have this .NET control:

<asp:FileUpload ID="FileUploadSS" type="file" runat="server" Width="325px" Font-Size="12pt" Height="25px" />

to select a file or use a photo taken 'on site'.

After the user has selected an image, I save it by use of this:

FileUploadSS.SaveAs(Server.MapPath("Uploads/" & ImageName))

The web page can be used on computer, tablet, or cell phone. Especially when using a cell phone, the upload time can be long (e.g. weak internet connection) and therefore I want to display a 'wait' message with an animated GIF contained in a DIV.

I can easely START the 'wait' message when the user clicks the 'save' button:

Page.ClientScript.RegisterStartupScript(Me.GetType(), "Turn on 'wait'", "document.getElementById('wait').style.display = 'inline';", True)

The problem is that I cannot find a way to determine WHEN the upload has finished and after this turn OFF the 'wait' message.

Can anyone help me with this?

Thank you in advance!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!