I thought I posted this earlier today but cannot find it again. I was hoping I has gotten a response….
I am building a wisej asp.net .Netframework website. I’m using v 3.5.23.
Single page app. Lots of linkedlabels and menu navigation. Nothing really complex.
But I cannot figure out how to have the browser navigate correctly when the back button is clicked.
It gives the user a blank page instead of the page they came from.
My framework idea is: when the user clicks to open another page, I should capture the full url in a public string variable before opening the desired page (using Show()).
Then when they click the browser’s back button, intercept that click and navigate to the url held in the variable (and update the variable to the new url.)
I’ve spent hours wth ChatGPT and CoPilot and neither one can figure it out.
As always, ideas and sample code is greatly appreciated!
Thanks!