Hi,
I’ using a main page and different forms to display (on mobile devices, maximized). I have “Close” button on them to close form and return to mainpage. BUT, if I press the browser “Back” button, it exit the application (because it has just one page).
I there any way to disable (or intercept and overwrite) the browser back button?
You can’t disable the browser buttons but you can use use deep linking to handle the back/forward navigation.
https://github.com/iceteagroup/wisej-examples/tree/2.2/DeepLinking
Basically when you set the hash string in becomes a “page” in the navigation history without navigating and when the user presses the browser’s navigation buttons you get the Application.HashChanged event. This is a common technique for SPA apps.
Please login first to submit.