Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

203
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda