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. response.redirect

response.redirect

Scheduled Pinned Locked Moved ASP.NET
questioncsharphtmllounge
3 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 am working in c#. Here is what I am trying to do. I have 3 frames. In frame 1 I read values from a dopdownlist and get the approriate records. I then want to present this information in Frame 3. Now frame 3 is also used to present some very general information as well. In fact Frame 3 may be used to present various bits of information through out the project, thus the contents of frame 3 may be derived from several or more aspx pages. What I think I need to do is set up aspx (or maybe html) pages that are the same size as frame 3 then SOMEHOW get the program to tell the ASP code to present the html page I point to in my code-behind source which will then be presented in frame 3. How do I go about doing this? Thanks

    M 2 Replies Last reply
    0
    • B brian55

      I am working in c#. Here is what I am trying to do. I have 3 frames. In frame 1 I read values from a dopdownlist and get the approriate records. I then want to present this information in Frame 3. Now frame 3 is also used to present some very general information as well. In fact Frame 3 may be used to present various bits of information through out the project, thus the contents of frame 3 may be derived from several or more aspx pages. What I think I need to do is set up aspx (or maybe html) pages that are the same size as frame 3 then SOMEHOW get the program to tell the ASP code to present the html page I point to in my code-behind source which will then be presented in frame 3. How do I go about doing this? Thanks

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      Hi there. Here's an approach you can try. Upon a postback in frame 1, you can retrieve the selected value server-side, then in the same server-side event handler, register some javascript code (using Page.RegisterClientScriptBlock[^] that would change the href for frame 3 to the .aspx page you want. The actual line of javascript would look something like this:

      parent.frame3.location="url.aspx";

      1 Reply Last reply
      0
      • B brian55

        I am working in c#. Here is what I am trying to do. I have 3 frames. In frame 1 I read values from a dopdownlist and get the approriate records. I then want to present this information in Frame 3. Now frame 3 is also used to present some very general information as well. In fact Frame 3 may be used to present various bits of information through out the project, thus the contents of frame 3 may be derived from several or more aspx pages. What I think I need to do is set up aspx (or maybe html) pages that are the same size as frame 3 then SOMEHOW get the program to tell the ASP code to present the html page I point to in my code-behind source which will then be presented in frame 3. How do I go about doing this? Thanks

        M Offline
        M Offline
        Mike Ellison
        wrote on last edited by
        #3

        Here's maybe another approach -- http://www.codeproject.com/script/comments/forums.asp?msg=1074708&forumid=12076&Page=2&userid=102321&mode=all#xx1074708xx[^]

        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