Avatar of gpinfotech
gpinfotechFlag for India

asked on 

How to open a file from particular folder(Uploads)

Hi all,

I am uploading Pdf and Doc files, How can i open these file in new window, when i click on Link button with file name from the uploads folder in asp.net

Give me any reply

Regards,

Narendra.S

.NET Programming

Avatar of undefined
Last Comment
gpinfotech
Avatar of saragani
saragani

in the < a href ...> you need to have Target="_new" or Target="_blank"

for example:

<a href="/hello.txt" Target="_blank">Click Me</a>

Open in new window

Avatar of gpinfotech
gpinfotech
Flag of India image

ASKER

Hi, thank you for your reply,
How can i add href for Link button, can you give me example, i will get the file name from database and i will assign file name dynamically, it is not static.

Regards,
Narendra
ASKER CERTIFIED SOLUTION
Avatar of Maulik Modi
Maulik Modi

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of gpinfotech
gpinfotech
Flag of India image

ASKER

Thanks for your response
Avatar of Maulik Modi
Maulik Modi

If answers work for  you then You can accept the answers and close this question
Avatar of gpinfotech
gpinfotech
Flag of India image

ASKER

Hi, thank you for your reply
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo