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. hyperlink control, target, and a datagrid

hyperlink control, target, and a datagrid

Scheduled Pinned Locked Moved ASP.NET
questionhelp
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.
  • K Offline
    K Offline
    karinb
    wrote on last edited by
    #1

    I have a datagrid that renders a paged list of article descriptions. these descriptions are linked (hyperlink control) to the url of the actual story. So, when i click on the link, a new window opens and the complete article is displayed. WHAT I Want to do is when I click the link, i want the article to display in either a table on the same page or a table on another page in the same app. how do I do this? i've been playing with the target and data/nav attributes, response.redirect, and other property of the datagrid and hyperlink controls, and i get close, but can't seem to fine tune it. please help if you can. happy to provide code examples if needed. karinb

    M 1 Reply Last reply
    0
    • K karinb

      I have a datagrid that renders a paged list of article descriptions. these descriptions are linked (hyperlink control) to the url of the actual story. So, when i click on the link, a new window opens and the complete article is displayed. WHAT I Want to do is when I click the link, i want the article to display in either a table on the same page or a table on another page in the same app. how do I do this? i've been playing with the target and data/nav attributes, response.redirect, and other property of the datagrid and hyperlink controls, and i get close, but can't seem to fine tune it. please help if you can. happy to provide code examples if needed. karinb

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      If you want to open it in a new window, you simply set the target attribute of the hyper link to the _blank. So if it does not work for you, you might want to post your code snippets.

      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