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. General Programming
  3. C#
  4. calling and displaying url in the same page.

calling and displaying url in the same page.

Scheduled Pinned Locked Moved C#
csharphtmlquestionannouncement
4 Posts 3 Posters 1 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.
  • D Offline
    D Offline
    dabuskol
    wrote on last edited by
    #1

    Hi, I have a lot of URLS / web programs. I need to create a default page which consist of two columns. Left column which has link button will call the url and display the existing url to the right column of my default page. It can be done using html. Is there a way to do it in .NET version? using web. Thanks

    Dabsukol

    L P 2 Replies Last reply
    0
    • D dabuskol

      Hi, I have a lot of URLS / web programs. I need to create a default page which consist of two columns. Left column which has link button will call the url and display the existing url to the right column of my default page. It can be done using html. Is there a way to do it in .NET version? using web. Thanks

      Dabsukol

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      You can use frame to load the url. Just try following code on click of left column url...

      You do not need to think it in .net context. You can do it simply using frame as shown above. You can do it dynamically using javascript. HTH

      Jinal Desai - LIVE Experience is mother of sage....

      1 Reply Last reply
      0
      • D dabuskol

        Hi, I have a lot of URLS / web programs. I need to create a default page which consist of two columns. Left column which has link button will call the url and display the existing url to the right column of my default page. It can be done using html. Is there a way to do it in .NET version? using web. Thanks

        Dabsukol

        P Offline
        P Offline
        Prosanta Kundu online
        wrote on last edited by
        #3

        Create a left page say "left.aspx" and set target attribute for anchor element with the name of right frame

        <%@ Page Language="C#" AutoEventWireup="true" CodeFile="left.aspx.cs" Inherits="left" %>
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <html xmlns="http://www.w3.org/1999/xhtml">
        <head runat="server">
        <title></title>
        </head>
        <body>
        <form id="form1" runat="server">
        <div>
        <a href="http://www.google.com" target="right">Google</a>
        <a href="http://www.w3schools.com" target="right">W3Schools</a>
        </div>
        </form>
        </body>
        </html>

        create default page with frame and give a name for right frame

        D 1 Reply Last reply
        0
        • P Prosanta Kundu online

          Create a left page say "left.aspx" and set target attribute for anchor element with the name of right frame

          <%@ Page Language="C#" AutoEventWireup="true" CodeFile="left.aspx.cs" Inherits="left" %>
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          <html xmlns="http://www.w3.org/1999/xhtml">
          <head runat="server">
          <title></title>
          </head>
          <body>
          <form id="form1" runat="server">
          <div>
          <a href="http://www.google.com" target="right">Google</a>
          <a href="http://www.w3schools.com" target="right">W3Schools</a>
          </div>
          </form>
          </body>
          </html>

          create default page with frame and give a name for right frame

          D Offline
          D Offline
          dabuskol
          wrote on last edited by
          #4

          Thanks it works in .NET

          Dabsukol

          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