Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Disable Navigation Buttons in explorer toolbar...

Disable Navigation Buttons in explorer toolbar...

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    khurram rathor
    wrote on last edited by
    #1

    Hello, I'm working on some Asp.Net web application and i want to have my own control in navigation between the pages. I don't want the user to use navigation buttons in explorer toolbar. Infact, i want to disable these buttons throughout my web application. Remember i'm already using this code.. Response.CacheControl = "no-cache" Response.AddHeader("Pragma", "no-cache") Response.Expires = 0 But in that case, the user can click the navigation back and forword buttons in explorer toolbar, which will display that the page has expired. I don't want the user to see this message. I will appreciate, if someone will help me out of this matter. "How to disable Navigation Back & Farword Buttons in explorer toolbar?" Thanks. khurram rathor

    T 1 Reply Last reply
    0
    • K khurram rathor

      Hello, I'm working on some Asp.Net web application and i want to have my own control in navigation between the pages. I don't want the user to use navigation buttons in explorer toolbar. Infact, i want to disable these buttons throughout my web application. Remember i'm already using this code.. Response.CacheControl = "no-cache" Response.AddHeader("Pragma", "no-cache") Response.Expires = 0 But in that case, the user can click the navigation back and forword buttons in explorer toolbar, which will display that the page has expired. I don't want the user to see this message. I will appreciate, if someone will help me out of this matter. "How to disable Navigation Back & Farword Buttons in explorer toolbar?" Thanks. khurram rathor

      T Offline
      T Offline
      theJazzyBrain
      wrote on last edited by
      #2

      There is no way to disable these buttons. The only thing you can do, is to launch your application in a new window, and set the properties of the new window so that no tool bar appears. have a look at MSDN for window.open in JavaScript and you should find some examples. My personal opinion, which doesnt mean that is the correct, is that why should you want to disble them and do it manually. Its allready there for you and its bug-free... In adition, users are familiar with using these buttons. On the other hand, I dont know the spec and the target group of your app. This is only my opinion... Regards, theJazzyBrain

      Excellence is not an act, but a habit!

      Aristotle

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups