I am trying to build a navigation system and includes a back button. The back button when clicked makes the last visible panel visible again.
The back button is a linklabel which executes the below line.
_backLocation.visible= true;
_backLocation
is a string variable that contains the panel name that was last visible. Once the user navigates away from a panel that panel is made invisible.
However the above line isn't valid code and doesn't compile. Is there a way to achieve this simple solution or maybe a better way?