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. Open file from GridView

Open file from GridView

Scheduled Pinned Locked Moved ASP.NET
help
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.
  • D Offline
    D Offline
    dj rock
    wrote on last edited by
    #1

    hi guys I am stuck in one problem please help me......I need to open any file (wordfile,pdf document etc...) from gridview. I have path for that file and i am getting that path but it is not being open. I tried hyperlinkfield and templatefield but in both case it is not done. So tell me some other way

    Regards, DJ Rock

    I 1 Reply Last reply
    0
    • D dj rock

      hi guys I am stuck in one problem please help me......I need to open any file (wordfile,pdf document etc...) from gridview. I have path for that file and i am getting that path but it is not being open. I tried hyperlinkfield and templatefield but in both case it is not done. So tell me some other way

      Regards, DJ Rock

      I Offline
      I Offline
      Imran Khan Pathan
      wrote on last edited by
      #2

      hi. WOTS A PROBLEM WITH HYPERLINK FIELD? U CAN DO THAT USING HYPERLINK JUST PASS FILE PATH TO NAVIGATIONURL PATHAN

      D 1 Reply Last reply
      0
      • I Imran Khan Pathan

        hi. WOTS A PROBLEM WITH HYPERLINK FIELD? U CAN DO THAT USING HYPERLINK JUST PASS FILE PATH TO NAVIGATIONURL PATHAN

        D Offline
        D Offline
        dj rock
        wrote on last edited by
        #3

        thanks for reply i am doing the same but my path is coming from database, so i am passing Eval("Path") to which is not working. If you have code then please let me know Thanks again

        Regards, DJ Rock

        I 1 Reply Last reply
        0
        • D dj rock

          thanks for reply i am doing the same but my path is coming from database, so i am passing Eval("Path") to which is not working. If you have code then please let me know Thanks again

          Regards, DJ Rock

          I Offline
          I Offline
          Imran Khan Pathan
          wrote on last edited by
          #4

          use DataBinder.Eval(Container.DataItem, "path") pathan

          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