Client event go back to previous

I am trying to use the escape button on client event to go back to the previous page.

I have the escape button scripted in the client events that has system.nav.goback().

This doesnt seem to work. Is there another way to do this?

Thank you

Hi Brian,

To clarify, do you mean the 'esc' button on a keyboard or is this a button on the client window? Could you post the script you have and where it is set up in your project?

Under client events
Escape (Released)


Button on keyboard

Hey Brian,

Have you tried using any other keys besides escape to test this functionality?

Yes i have. Backspace and spacebar. Also just tried B just to make sure.

It seems that this question should have been tagged as "vision" specific. You can edit the title to add the appropriate tag to attract the right experts.

I use the key released event handler to close popups with the escape key, and I've never had a problem, but I don't use system.nav.goback() for backwards navigation. It seems like I tried this some time ago and didn't get the results I wanted.

In any case, I just set up an experiment, and no matter where I navigate, I get this in my diagnostic console whenever I call system.nav.goback from the escape key:

Nevertheless, I do have a strategy in place for reverse navigation that works quite well. I use templatized navigation buttons that simply add the windows they call to a dataset client tag. Then a back button can retrieve the previous window from the dataset and open it. Furthermore, this allows the client can access the full session history in a power table and navigate directly to any previous window with a mouse click.