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. How do I set the center page of a frameset??

How do I set the center page of a frameset??

Scheduled Pinned Locked Moved ASP.NET
questioncsharpasp-nethelp
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.
  • I Offline
    I Offline
    IrishSonic
    wrote on last edited by
    #1

    Hiya I have a asp.net app that contains a frameset (banner and content). For the left most page (my button panel), I have set a form that contains image buttons. When the user clicks an image button, another form should open in the center frame. My problem is that I do a Reponse.Redirect() but the page opens in the left most page (my button panel). How do I tell the page to open in the center frame?? ------------------------------------------------ header form ------------------------------------------------ button1 | FORM SHOULD OPEN HERE!!! button2 | button3 | ------------------------------------------------ Thanks.

    R 1 Reply Last reply
    0
    • I IrishSonic

      Hiya I have a asp.net app that contains a frameset (banner and content). For the left most page (my button panel), I have set a form that contains image buttons. When the user clicks an image button, another form should open in the center frame. My problem is that I do a Reponse.Redirect() but the page opens in the left most page (my button panel). How do I tell the page to open in the center frame?? ------------------------------------------------ header form ------------------------------------------------ button1 | FORM SHOULD OPEN HERE!!! button2 | button3 | ------------------------------------------------ Thanks.

      R Offline
      R Offline
      Rocky Moore
      wrote on last edited by
      #2

      What you need to do is on the "client" side. When you do a post back for a button click, it hits the server and the results is displayed in the frame the call was made from. Instead, you need to intercept the click of the button on the client side in Javascript and then set the url location of the frame containing the pane you are targeting. This is assuming you are using buttons and not simple URLs. Rocky <>< www.HintsAndTips.com www.GotTheAnswerToSpam.com

      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