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

205
Visualizações
How can I turn off the processing indicator after the return from ssrs report in mvc?

I have a button on my site that runs a SQL Server Report Services report. It takes some time to run and I wanted to show a processing indicator to my users. This was easy enough. This is in a form that runs the action in the controller.

<input 
  id="submitProcessingStandard" 
  type="submit" 
  class="btn btn-info" 
  value="PDF Report as of Date Below" 
  onclick="turnOn"
/>

This turns on the processing gif:

function turnOn() {
  $("#processingStandard").show();
}

The action is very simple.

public IActionResult PDF(CustomCrimesAndDistricts ccd) {
  return Redirect("http://xxxxxx/reportserver/Pages/ReportViewer.aspx?%2fDSP%2fDSP&rs:Format=PDF&enddate=" +
    ccd.EndDate.ToString("MM/dd/yyyy", System.Globalization.CultureInfo.InvariantCulture.DateTimeFormat));
}

Once the file has been downloaded, is there any way to re-hide the processing gif?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I was actually able to get around this in a different way. I do a synchronous download in the controller and then I can return to the view with whatever I need. Thank for looking. I think this is probably the best way to do it. Any other ways will always be considered. Thanks for looking.

about 4 years ago · Juan Pablo Isaza Relatório
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