Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hyperlinks to files not working on Mac
08-20-2008, 07:03 PM (This post was last modified: 08-20-2008 07:04 PM by sonu.)
Post: #1
hyperlinks to files not working on Mac
hello all,

for some reason i'm having difficulties linking to a file in a shared directory on Win2k3 from a Mac (Safari and FF). All perms / security are setup for the share.

site developed in asp.net 2.0

NavigateURL="file://thisserver/folder/document.doc" doesn't work.

Any ideas?

Thanks,
i have to think this is a pretty obvious and typical issue... so here's more info:

i'm using asp.net 2.0 hyperlink tag... so... i've tried

<asp:Hyper... NavigateURL="file://servername/directory/document.doc" />
<asp:Hyper... NavigateURL="http://servername/directory/document.doc" />

The former works on PC only.
Find all posts by this user
Quote this message in a reply
08-20-2008, 07:05 PM
Post: #2
RE: hyperlinks to files not working on Mac
document.doc
Have you a method to open Word documents on the Mac?
Find all posts by this user
Quote this message in a reply
08-20-2008, 07:05 PM
Post: #3
RE: hyperlinks to files not working on Mac
Nope. It won't just automatically open in Word like on a PC?

That's odd considering we have several links to Excel spreadsheets that automatically open the Excel application when clicked on using a Mac. I didn't develop those - there may be something else going on there.

Can you give an example of a method to open Word documents on a Mac? In the meantime... I'll google...
Find all posts by this user
Quote this message in a reply
08-20-2008, 07:07 PM
Post: #4
RE: hyperlinks to files not working on Mac
Well it's Microsoft Office (and therefore Microsoft Word), and while I think there is a Mac version, I was wondering whether you had it installed, or whether .doc files are set to open with it?
Find all posts by this user
Quote this message in a reply
08-20-2008, 07:07 PM
Post: #5
RE: hyperlinks to files not working on Mac
i figured it out.

the file:// prefix in the NavigateURL="" element of the asp:HyperLink tag will not work on Mac. Instead it must be formatted as a URL (http://....)

this actually was only part of the problem. the other part was that I was hosting the file incorrectly. i had it in a typical Windows shared directory instead of serving the file via IIS.

this was all just a very stupid mistake on my part.

thanks for the help anyway
Find all posts by this user
Quote this message in a reply
11-04-2009, 01:59 AM
Post: #6
RE: hyperlinks to files not working on Mac
I have created a number of PDFs from Adobe FrameMaker using Acrobat 7 (Windows). The files and links all render fine when viewed in Reader (Windows).

However, users are unable to get any of the hyperlinks to work when viewing the files with the built in program "Preview" that is part of the Mac OS X operating system.

___________________________
Letterhead printing
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:

Contact UsDeveloper SolutionReturn to TopReturn to ContentLite (Archive) ModeRSS Syndication