Questions tagged [back-button]

A button that will take the user back to the previous state that they were on.

A back button, often depicted with leftward facing arrow icon, is a basic control that allows the user to return to a previous application state.

In web browsers, a historical record of each time a user navigates to a new page is kept. Clicking the browser's back button will return the user to the previous page in the history.


For example, if a user navigates first to google.com (1) then to facebook.com (2) then to youtube.com (3), their browsing history will include all the pages they visited at each site in the order they were viewed (1, 2, 3).

While on youtube.com (3), if the user clicks the back button, they will then be taken to facebook.com (2). If they click the back button again, they will be taken to google.com (1).

1630 questions
12
votes
15 answers

Prevent Use of the Back Button (in IE)

So the SMEs at my current place of employment want to try and disable the back button for certain pages. We have a page where the user makes some selections and submits them to be processed. In some instances they have to enter a comment on…
kemiller2002
  • 113,795
  • 27
  • 197
  • 251
12
votes
2 answers

Prevent user from traversing back using browser back button in spring `Web application`

I am developing web application using spring MVC frame work, I want to restrict users from traversing back using browsers back button whenever using my web application. how can I do so in springs? Is there any built in functionality in spring?
Rajendra_Prasad
  • 1,300
  • 4
  • 18
  • 36
11
votes
2 answers

Which method is called when back button clicked in navigation controller?

I want to save DB when the back button clicked in navigation controller. so I would insert code in method. What method is called when back button clicked in navigation controller?
석진영
  • 243
  • 4
  • 13
11
votes
5 answers

back commandbutton in jsf

how would one implement a back-button as a commandbutton that works universally? with back button i don't mean the browser-button, but rather a button that sits somewhere on the page. it is not always possible to use the Post-redirect-get…
Andreas Petersson
  • 16,248
  • 11
  • 59
  • 91
11
votes
5 answers

UINavigationController and UINavigationBarDelegate.ShouldPopItem() with MonoTouch

How do I pop up an UIAlertView when the back button of a UINavigationBar (controlled by a UINavigationController) was tapped? Under certain conditions, I want to ask the user an "Are you sure?" type of question so he could either abort the action…
riha
  • 2,270
  • 1
  • 23
  • 40
11
votes
1 answer

Ensure that there is a back button on a desktop (Windows 10) PWA

Mobile devices have a hardware back button, so this isn't an issue. However, on desktop (mainly Windows 10) PWA apps appear to sometimes have a back button in the top left corner. I want to either: Ensure this is always visible, or... Know that it…
Keith
  • 150,284
  • 78
  • 298
  • 434
11
votes
1 answer

Android back button not working while playing video in VideoView

Android back button is not working while playing the video in VideoView. But it works before playing the video. I am using a custom MediaController for VideoView. I tried using dispatchKeyEvent, its not working. Code of Activity that am using…
10
votes
2 answers

Gatsby.js: Navigating with URL Parameters and the Browser Back / Forward Buttons

I have an Articles component which displays a list of posts. The list is paginated so that a maximum of 10 posts can display per page. There is a "Next Page" button that when clicked will update the component state and the corresponding url…
dougmacklin
  • 2,560
  • 10
  • 42
  • 69
10
votes
2 answers

Draw custom Back button on iPhone Navigation Bar

I've got a UIView with a NavigationBar and I'd like to add a button which looks like the style of a Back Button. I'm not using a UINavigationController and was wondering if this could be done without it? The style of the button should look like…
ingh.am
  • 25,981
  • 43
  • 130
  • 177
10
votes
3 answers

Android Toolbar with both home and back button

Is it possible to display both home icon and back icon in the toolbar? 1) Is it possible change the order of display of back button icon and home icon. Currently it displays the arrow button first and then the logo (home button) 2) Second…
10
votes
2 answers

Alert user when they hit the browser back button - with good reason

I know this borders on the taboo here, and please don't reply with "you should never do this", etc. I have a very long form in a wizard, and some users are too used to using the browser's back and forward buttons that they use those instead of the…
Dirty Bird Design
  • 5,333
  • 13
  • 64
  • 121
10
votes
5 answers

How to handle hardware Back Button on Ons-Dialog?

My app contain ons-dialog on a imageclick that opens image in a dialog.But I am unable to handle hardware device back button.It is showing error of 'Capturing Back button handler is failure.So how to do it???Please help. Code :
Zen Bhatt
  • 310
  • 5
  • 21
10
votes
4 answers

Ionic nav-back-button and menu button showing together

I try to make the menu button not to show when the back button is showing. is there a way to let Ionic take care of that? or it's up to me? for example if i use ui-sref to go from app.users to app.users.add or app.users.details i expect the menu…
1O1
  • 304
  • 1
  • 3
  • 12
10
votes
1 answer

Hiding Home and Back button in Android

I would like my app to hide the Home and Back button which is show at bottom of activity. I was able to hide the title bar but I am not able to do for Home and Back button. Is it possible to do it?
ik024
  • 3,566
  • 7
  • 38
  • 61
10
votes
5 answers

How to return from Unity Player to previous running Android Activity?

I have the same problem as mentioned in this topic Integrating Unity with Eclipse: Back Button Click but the suggested solutions didn't work. I have a Unity Player embedded in a Native Android Application. I can start the Unity Player without a…