Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

84
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda