This is a migrated thread and some comments may be shown as answers.

Hyperlink to file on server opens in Excel dump, not from Report

4 Answers 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 18 Mar 2013, 09:51 PM
I have a column, "Last File", that has a name and a hyperlink to the file on a server. 

On Excel export the file opens, e.g. the hyperlink, \\intut\PTA\Uploads\12422.pdf opens the PDF. Just what I want. 

In the Telerik Report, when I click the hyperlink Internet Exporer opens and I get, "The page cannot be found ".  In the address area is "http://localhost/intutPTAUploads12422.pdf".  It seems to have added "http://localhost", "localhost" is the server, replaced "\\intut" with "/intut" and removed all the "\"s.

What do I need to do to get a hyperlink to a file to work?

4 Answers, 1 is accepted

Sort by
0
Squall
Top achievements
Rank 1
answered on 21 Mar 2013, 12:41 PM
Hi, This seems browser related. Have you tried with IE?
SN
0
David
Top achievements
Rank 1
answered on 22 Mar 2013, 03:41 PM
I'm using IE. 
0
Accepted
IvanY
Telerik team
answered on 27 Mar 2013, 12:43 PM
Hi David,

Which version of IE are you using? In general links to local files are considered а security risk by browsers and such links work only in IE. You can also try with file links (file://) but this will not work in Firefox since it has a setting that prevents opening files from external web sites. 

file:// will look like this when you add your path: file:// /files/yourfile.file .

All the best,
IvanY
the Telerik team

Telerik Reporting Q1 2013 available for download with impressive new visualizations. Download today from your account.

0
David
Top achievements
Rank 1
answered on 27 Mar 2013, 02:47 PM
That worked when I doubled up \

 

Path: <

 

add key="UploadFileLocation" value="\\intut\PTA\Uploads\"/>

 

 

 

Path that works in Telerik Report <

add key="UploadFileReportLocation" value="file://intut\\PTA\\Uploads\\"/>

 

Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Squall
Top achievements
Rank 1
David
Top achievements
Rank 1
IvanY
Telerik team
Share this question
or