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. Parent Window; Child Window Issue

Parent Window; Child Window Issue

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptasp-netquestion
2 Posts 2 Posters 2 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.
  • E Offline
    E Offline
    egx2
    wrote on last edited by
    #1

    Hi There, I have an ASP.NET page. I open a child window using the JavaScript function. When the parent closes, the child closes. When the parent refreshes, it loses the variable name of the open child window. So, I can't do anything with it afterwards. I know that you can use a hidden frame to keep track of the variables. Is there any way to maintain functionality without using hidden frames? Thanks in advance for your help. Emanuel

    A 1 Reply Last reply
    0
    • E egx2

      Hi There, I have an ASP.NET page. I open a child window using the JavaScript function. When the parent closes, the child closes. When the parent refreshes, it loses the variable name of the open child window. So, I can't do anything with it afterwards. I know that you can use a hidden frame to keep track of the variables. Is there any way to maintain functionality without using hidden frames? Thanks in advance for your help. Emanuel

      A Offline
      A Offline
      Andrew Quinn AUS
      wrote on last edited by
      #2

      Hi, Are you not using the "Name" attribute of the window.open method? e.g. var wnd = window.open("http://www.google.com.au", "MYWINDOW", ... ); Even with a page refresh, when you perform this, IE will look for a window with the specified name and return the reference back to you. Of course, this means that you need to perform a navigate to do this, but it depends what you are displaying in your child window? Hope this helps, Andy

      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