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

169
Vistas
Use redirect to action in case of AJAX or a way to Use custom confirm modal to call a controller on Yes and then redirect to another controller

I wanted to call a controller on Yes click( from a custom confirm modal) I am assuming the only way is AJAX and I wanted to redirect from that controller to another action controller to refresh the screen, the only way I could figure is to do from Pass redirect link in JSON and then redirect from ajax Success function, is there a way to redirect directly from controller 1 to another in case of ajax. The problem with this approach is a response comes from the back end to the front end and then refresh happens, is there any way to avoid this delay, I am trying to call and controller on the Yes button click ( some new javascript confirm modal ) & that required me to use Ajax and ajax not allowing me to redirect to another controller directly from one action method to another

example A- main controller, B - controller - performing some action on button click yes, C - my client-side I want to clock from C to B and then wanted to redirect to A but don't wanna return to C to redirect to A because it creates a delay.

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