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. unable to open file in new window using hyper link(physical path)

unable to open file in new window using hyper link(physical path)

Scheduled Pinned Locked Moved ASP.NET
helpcsswpfwcf
3 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
    kinnuP
    wrote on last edited by
    #1

    hi all, hi problem as follows, previously we are using to upload the documents inside the virtual folder only . now client want to crate the folder out of virtual directory .i am able to create the directory .but unable to retrieve the files from that directory .i am using grid view in item template using the hyper link binding the physical path to it. but it is not opening the file and not giving any error also . Please help me in this .if u have any reference links please let me know i am trying in Google unable to find the proper solution. please help in this. Thanks And Regards, Guru

    S 1 Reply Last reply
    0
    • K kinnuP

      hi all, hi problem as follows, previously we are using to upload the documents inside the virtual folder only . now client want to crate the folder out of virtual directory .i am able to create the directory .but unable to retrieve the files from that directory .i am using grid view in item template using the hyper link binding the physical path to it. but it is not opening the file and not giving any error also . Please help me in this .if u have any reference links please let me know i am trying in Google unable to find the proper solution. please help in this. Thanks And Regards, Guru

      S Offline
      S Offline
      Sun Rays
      wrote on last edited by
      #2

      Hi, do you set this ? you must have use templatefield and in that you have added hyperlink. Now in the navigate URL pass full path of file. like http://servername/foldername/filename.ext And debug what file name you are passing in hyperlink.

      Thanks, Sun Rays To get something you must have to try once. My Articles

      K 1 Reply Last reply
      0
      • S Sun Rays

        Hi, do you set this ? you must have use templatefield and in that you have added hyperlink. Now in the navigate URL pass full path of file. like http://servername/foldername/filename.ext And debug what file name you are passing in hyperlink.

        Thanks, Sun Rays To get something you must have to try once. My Articles

        K Offline
        K Offline
        kinnuP
        wrote on last edited by
        #3

        hi rays, i am passing "file:///D:/FNTPlacer/Documents/TEST/TestCases.txt" even through it is not working. Thanks And Regards, Guru

        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