Disable back button in browser and X in top right

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default Disable back button in browser and X in top right

    Has anyone ever seen code out there for disabling the back button or the close
    button? I don't want the user to be able to leave the flex app without saving.
    That means anything that would navigate them away from the page. Including
    back button, close button, click home. Any ideas?

    -NR

    nrutter Guest

  2. Similar Questions and Discussions

    1. back button - disable
      Is there a way to prevent the user from using the browser Back Button to go back to a previous page in an ASP.NET application? Thanks! Bill
    2. Browser Back button problem
      Dear all I'm having a probelm concerning the security of my application. the problem is when a user is loggoed in and then he looged out i redirect...
    3. How do I disable Back Button in Browser?
      i get incredibly grumpy every time someone asks a question then they get bombarded with 'we have to think of the user' and 'u have no right to mess...
    4. HOW TO DISABLE BACK BUTTON IN ASP
      hi all For a user to log of in an application ,i've used session.abandon method and furthur the control is redirected to the home page.as a...
    5. Back button on the browser problem
      Hi In my application I have a wizard and I have to make sure that user can't come back to previous page of the wizard. The problem is that is user...
  3. #2

    Default Re: Disable back button in browser and X in top right

    No. You cannot disable these buttons!

    There are ways that you can use Javascript to identify these user actions --
    like gmail does for an example -- and present user an option to save the data.
    But again this is an option user may choose to ignore. So technically speaking,
    "I don't wantn the user to be able to leave flex app..." is not such a
    practical goal to have, IMO.

    ATTA

    atta707 Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139