Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
0
Answer
hyperlink to a local file
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
david.li
17y
2.2k
1
Reply
Hi guys,
I tried to create a hyperlink in c# web application. This hypelink is linking to a file in my computer. When I click on the hypelink, it should open a new window with the file. Here is my code:
<asp: hyperlink id="hyperlink1" runat="server" target="_blank" NavigateUrl="
file:///d:\checklist.doc
">Check List</asp:hyperlink>
But the new window never show up. If I change the link to http site or network file, it works fine.
I did search on internet without luck. I need to fix it in a short time. I really appreciate any comment.
Thank you,
David
Post
Reset
Cancel
Answers (
0
)
Next Recommended Forum
Changing the drive letter of a volume
Expression validator