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
  1. Home
  2. Web Development
  3. ASP.NET
  4. Redirecting parent page

Redirecting parent page

Scheduled Pinned Locked Moved ASP.NET
javascriptdatabasehelp
3 Posts 3 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
    Khan Bangash
    wrote on last edited by
    #1

    Hi All, How I redirect parent page to another page with a query string when child page is closed using javascript. Please any help regording to this. Thanks in Advance.

    G H 2 Replies Last reply
    0
    • K Khan Bangash

      Hi All, How I redirect parent page to another page with a query string when child page is closed using javascript. Please any help regording to this. Thanks in Advance.

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      You can't redirect it as there is no request to redirect. You can use Javascript to change the location property of the parent window. Example: window.opener.location='http://www.guffa.com';window.close();

      --- single minded; short sighted; long gone;

      1 Reply Last reply
      0
      • K Khan Bangash

        Hi All, How I redirect parent page to another page with a query string when child page is closed using javascript. Please any help regording to this. Thanks in Advance.

        H Offline
        H Offline
        Haissam
        wrote on last edited by
        #3

        use the onunload event of the body tag on your popup page to change the location of the parent page example below Best Regards, Haissam Abdul Malak [My Blog](http://www.dotnetslackers.com/community/blogs/haissam/)

        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