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. linkbutton

linkbutton

Scheduled Pinned Locked Moved ASP.NET
databasequestion
4 Posts 3 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.
  • U Offline
    U Offline
    UD IA
    wrote on last edited by
    #1

    hi i have a link button which text is from database and that's file name and file may be .zip, .rar or .doc means any thing so how i open on click event. thanks in advance. :-D

    I will do my best? Integrated Solutions, Bikaner (Raj.), India

    A 1 Reply Last reply
    0
    • U UD IA

      hi i have a link button which text is from database and that's file name and file may be .zip, .rar or .doc means any thing so how i open on click event. thanks in advance. :-D

      I will do my best? Integrated Solutions, Bikaner (Raj.), India

      A Offline
      A Offline
      AhsanS
      wrote on last edited by
      #2

      do you want to download that file on the click event? P.S. Always explain your question fully.

      Ahsan Ullah Senior Software Engineer

      U 1 Reply Last reply
      0
      • A AhsanS

        do you want to download that file on the click event? P.S. Always explain your question fully.

        Ahsan Ullah Senior Software Engineer

        U Offline
        U Offline
        UD IA
        wrote on last edited by
        #3

        Firstly thanks for reply. yes i would like to know how to save file on client side. brief explanation is that i have a file which i upload through fileuploader and file path is store like this : ~/directoryname/filename.ext this data link is stored in database and file is stored in given location (directory name) all is going fine. and i show this file on a linkbutton when i click on this link button i would like that save this file on client computer and file extension may be any thing like .zip, .rar, .bmp, .jpg, .xls, .zip etc. how to save on click event of the linkbutton. :-D

        I will do my best? Integrated Solutions, Bikaner (Raj.), India

        S 1 Reply Last reply
        0
        • U UD IA

          Firstly thanks for reply. yes i would like to know how to save file on client side. brief explanation is that i have a file which i upload through fileuploader and file path is store like this : ~/directoryname/filename.ext this data link is stored in database and file is stored in given location (directory name) all is going fine. and i show this file on a linkbutton when i click on this link button i would like that save this file on client computer and file extension may be any thing like .zip, .rar, .bmp, .jpg, .xls, .zip etc. how to save on click event of the linkbutton. :-D

          I will do my best? Integrated Solutions, Bikaner (Raj.), India

          S Offline
          S Offline
          Sandeep Akhare
          wrote on last edited by
          #4

          Hyperlink have href property just put the whole path in href including file extension href=~/directoryname/filename.doc it will do all things that you wanted check it

          Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... " Check My Blog

          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