linkbutton
-
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
-
do you want to download that file on the click event? P.S. Always explain your question fully.
Ahsan Ullah Senior Software Engineer
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
-
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
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