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. Setting a column inside of a gridview to a link

Setting a column inside of a gridview to a link

Scheduled Pinned Locked Moved ASP.NET
comhelp
4 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.
  • A Offline
    A Offline
    aqzman_
    wrote on last edited by
    #1

    Hey guys! I've been Googling for about an hour now, and I can't seem to find any anwsers, hopefully someone here is able to help me. What I want to do is set text on a gridview as a link to a local harddrive. I've provided a link to a picture of what I've set up, and under the "Files" column is where I'd like the link to be, so users can just right click and "Save Target As..." to get the file. http://image.bayimg.com/ca/dl/ga/ab/g.jpg Thanks, aqzman

    T 1 Reply Last reply
    0
    • A aqzman_

      Hey guys! I've been Googling for about an hour now, and I can't seem to find any anwsers, hopefully someone here is able to help me. What I want to do is set text on a gridview as a link to a local harddrive. I've provided a link to a picture of what I've set up, and under the "Files" column is where I'd like the link to be, so users can just right click and "Save Target As..." to get the file. http://image.bayimg.com/ca/dl/ga/ab/g.jpg Thanks, aqzman

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      You need to have the folder must be part of the website in IIS. If it is then a link to file should work.

      I didn't get any requirements for the signature

      A 1 Reply Last reply
      0
      • T ToddHileHoffer

        You need to have the folder must be part of the website in IIS. If it is then a link to file should work.

        I didn't get any requirements for the signature

        A Offline
        A Offline
        aqzman_
        wrote on last edited by
        #3

        Is this what you're talking about? http://image.bayimg.com/ia/dl/ia/ab/g.jpg Also, thanks for the reply!

        T 1 Reply Last reply
        0
        • A aqzman_

          Is this what you're talking about? http://image.bayimg.com/ia/dl/ia/ab/g.jpg Also, thanks for the reply!

          T Offline
          T Offline
          ToddHileHoffer
          wrote on last edited by
          #4

          Yeah, just set that as the navURL or whatever the property is of the ASP Hyperlink control.

          I didn't get any requirements for the signature

          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