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

132
Vistas
Is it possible to catch the history.back event before navigating?

I would like to query whether the IsDirty flag is true or false when I click on the back button, but it should be before and not when the navigation is already finished. I'm not sure if this is so easy or if it's a bit more complex.

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

There is no "Simple" answer to this problem. While you can use various strategies within page and navigation menus to restrict dirty form exits, there are no easy one-liner ways to control browser navigation requests.

My current solution to this problem, which addresses all normal form exit mechanisms can be found here Blazr.Demo.Routing.

It rebuilds Router, adds a new Navigation Manager and interfaces with the browser beforeunload event.

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