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. Display a page in frame

Display a page in frame

Scheduled Pinned Locked Moved ASP.NET
csharpasp-net
4 Posts 4 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.
  • M Offline
    M Offline
    Mahesh1679
    wrote on last edited by
    #1

    Hi, on my page i have hyperlink and a frame. So when i click on the hyperlink, i should display a page on this frame. Pls give me some tip on this. I am new to ASP.NET Thank you Mahesh

    R D A 3 Replies Last reply
    0
    • M Mahesh1679

      Hi, on my page i have hyperlink and a frame. So when i click on the hyperlink, i should display a page on this frame. Pls give me some tip on this. I am new to ASP.NET Thank you Mahesh

      R Offline
      R Offline
      Rizwan Bashir
      wrote on last edited by
      #2

      in hyper link use javascript instead of page.. like [click here](Javascript:window.parent.framename.location='mypage.aspx')

      1 Reply Last reply
      0
      • M Mahesh1679

        Hi, on my page i have hyperlink and a frame. So when i click on the hyperlink, i should display a page on this frame. Pls give me some tip on this. I am new to ASP.NET Thank you Mahesh

        D Offline
        D Offline
        DELETEUSER
        wrote on last edited by
        #3

        your best bet is master-content pages in ASP.NET 2.0 which is beta I guess ---------- user9 A student knows little about a lot. A professor knows a lot about little. I know everything about nothing.

        1 Reply Last reply
        0
        • M Mahesh1679

          Hi, on my page i have hyperlink and a frame. So when i click on the hyperlink, i should display a page on this frame. Pls give me some tip on this. I am new to ASP.NET Thank you Mahesh

          A Offline
          A Offline
          Anonymous
          wrote on last edited by
          #4

          You can use this simple code: href="javascript:top.FrameName.location ='theurl.htm'" top: is the top parent frame. FrameName: is the name of your frame. location: is the attribute of url location. Good coding.

          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