How to disable browser back button of a particular child page (Master Page)


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: How to disable browser back button of a particular child page (Master Page)

  1. #1
    Join Date
    Feb 2008
    Posts
    4

    How to disable browser back button of a particular child page (Master Page)

    I have a problem to disable a browser back button of a particular child page(Not all child pages of a master page).
    No problem when i use in a separate page. I may use history.forward script to onload property of a body tag in a page.
    but now i m using master page. that's why i dont know to implement the rule. Could you help me regarding this.

    Advance thanks

  2. #2
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Welcome to DevX

    Is it just one particular child page or could there be more than one child page for which the back button should be disabled?
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

  3. #3
    Join Date
    Feb 2008
    Posts
    4

    Hi friend

    Just only one particular child page. Sorry for the delay

  4. #4
    Join Date
    Apr 2007
    Location
    Sterling Heights, Michigan
    Posts
    8,666
    Then couldn't you simply and an If the page equals the name of this child page, disable the Back button.

    Incidentially, why do you want to disable the back button? I always find that annoying when that button is not available.
    I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
    Please use [Code]your code goes in here[/Code] tags when posting code.
    Before posting your question, did you look here?
    Got a question on Linux? Visit our Linux sister site.
    Modifications Required For VB6 Apps To Work On Vista

Similar Threads

  1. Replies: 6
    Last Post: 06-30-2008, 11:50 PM
  2. Page Expires on Browser Back
    By umair432 in forum Web
    Replies: 10
    Last Post: 11-13-2007, 08:48 AM
  3. back button problem
    By santhira.vadivu in forum ASP.NET
    Replies: 1
    Last Post: 07-31-2007, 12:25 PM
  4. Replies: 1
    Last Post: 02-13-2002, 06:41 PM
  5. Replies: 0
    Last Post: 01-15-2001, 06:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center