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 developed this code in Visual Studio 2003. I wrote a html file with html hyperlink to this local file, it works fine:
<a href="D:\AUS Leave Form - Melbourne.doc">link</a>
But if I add this code in apsx file, the html hyperlink is not working too.
I did search on internet without luck. I need to fix it in a short time. I really appreciate any comment.
View Complete Post