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. Problems redirecting to a frame

Problems redirecting to a frame

Scheduled Pinned Locked Moved Web Development
questionhelptutoriallounge
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.
  • B Offline
    B Offline
    brian55
    wrote on last edited by
    #1

    I have 3 frames. Top, middle, bottom. I process some info in the top frame, store it in a session var. I then want the app to write the information out in the bottom frame. Int he bottom frame I read the session var and write it out but I can't see it. In general I seem to have a more fundamental conceptual problem. How does a frame know when to activate? In the above example, when I finish gathering the info I want in the top frame I then want the lower frame to write it. But how do I tell the lower frame that I am finsihed preparing the data and now you should to write it? Within the top frame I tried Response.Redirect(bottomframe) BUT that displayed the bottom frame where the top frame was. Obvisoulsy this is not what I wanted. I wanted the app to write the contents in the bottom frame. Thanks in advance Brian

    A 1 Reply Last reply
    0
    • B brian55

      I have 3 frames. Top, middle, bottom. I process some info in the top frame, store it in a session var. I then want the app to write the information out in the bottom frame. Int he bottom frame I read the session var and write it out but I can't see it. In general I seem to have a more fundamental conceptual problem. How does a frame know when to activate? In the above example, when I finish gathering the info I want in the top frame I then want the lower frame to write it. But how do I tell the lower frame that I am finsihed preparing the data and now you should to write it? Within the top frame I tried Response.Redirect(bottomframe) BUT that displayed the bottom frame where the top frame was. Obvisoulsy this is not what I wanted. I wanted the app to write the contents in the bottom frame. Thanks in advance Brian

      A Offline
      A Offline
      Alsvha
      wrote on last edited by
      #2

      You need to tell the bottom frame to reload its content, when you are done in the top frame. This can be done with JavaScript, but unfortunally - I can't remember the excat syntax just at this time. I would think it would be something like "parent.[framename].location.href = [pagename];" --------------------------- 127.0.0.1 - Sweet 127.0.0.1

      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