HashRouting: Routing, navigation with URL Hash

Another question. I looked through the code and didn’t find anything that seemed obvious as a way to trigger the Back operation through code.

Maybe there’s something else I should be doing in my situation?

I have a form that is a detail editing form. That form is routed to from the more general form. I want the detail editing form on the stack, so if the user hits Back when they’re on it, it’s effectively a cancel operation (they go back to the more general form without saving changes).

The detail editing form has Save and Cancel buttons. For both of those, I want to route back to the more general form, but with the same effect on the history as if the user had hit the Back button.

1 Like