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. opening two pages in a two iframes in one click

opening two pages in a two iframes in one click

Scheduled Pinned Locked Moved ASP.NET
tutorial
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.
  • U Offline
    U Offline
    User 591980
    wrote on last edited by
    #1

    Hi all! I have a page with two iframes, each on one side of the page, now what I want is to load a page on each of those two iframes on the sides in one click. I can only load a page to one frame at a time, but what i want it to populate each of those two frames with a page. Anyone know how to go about doing that in one click.

    P J 2 Replies Last reply
    0
    • U User 591980

      Hi all! I have a page with two iframes, each on one side of the page, now what I want is to load a page on each of those two iframes on the sides in one click. I can only load a page to one frame at a time, but what i want it to populate each of those two frames with a page. Anyone know how to go about doing that in one click.

      P Offline
      P Offline
      peterzorbas
      wrote on last edited by
      #2

      how about creating an event handler and when the person say clicks a button one page loads, throw an event that then loads the next page

      1 Reply Last reply
      0
      • U User 591980

        Hi all! I have a page with two iframes, each on one side of the page, now what I want is to load a page on each of those two iframes on the sides in one click. I can only load a page to one frame at a time, but what i want it to populate each of those two frames with a page. Anyone know how to go about doing that in one click.

        J Offline
        J Offline
        Juno EasyDotNet com
        wrote on last edited by
        #3

        Hi, How about using javascript? Add onclick="opentwo()" to that button. and add script scetion to the page: function opentwo(){ document.all.frame1.src="url1" document.all.frame2.src="url2" } Juno MCSD.NET, MCDBA, MCSE ---------------------------------------------------------- Support Team of EasyDotNet, INC. http://www.EasyDotNet.com DataForm.NET - The most powerful data entry web server control for ASP.NET

        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