This topic is locked

ASPRunner 4.1 hyperlink issue

11/7/2006 2:00:14 PM
ASPRunnerPro General questions
swat author

The hyperlink works fine when I have the full name (myfile.doc- new.pdf) but If link another field to my hyperlink file it gives and error - it does open the file but shows unknow file type- do you waht to save or open...

thx

Sergey Kornilov admin 11/7/2006

Swat,
what is the actual value in thyperlink field and what View as type you choose for this field?

swat author 11/8/2006

I have a field for my pdf file + pdf file name and I am using Database File option as View - The hyperlink works if I have the full file name such as (mypdffile.pdf)- however, I would like to have only name (mypdffile) or another field's name as a link-
thx

Alexey admin 11/9/2006

Hi,
you need to preserve the original file extension to allow browser to recognize the file type.
To make the List page display the filename without the extension modify generated ..._list.asp file manually.

Find this line there:

FieldName - Database File



where FieldName is your actual field name.

Then modify the snippet following by this line