taz8020
asked on
asp.net open vCard link not display the text in browser
Hi I have a link to a vCard but if you click it in ie it displays the text ov the vCard. How do i get it to open it instead?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
which operating system and which version of iis ? or are you using apache?
ASKER
hi yes its .net4 and iis 7, So if i alter the mime types it will auto download the file?
if the user clicks on it yes the user will download the file
ASKER
do i alter it in the web.config file and if so how?
http://www.screencast.com/t/UKO6PzxXpeSJ
older
<mimeMap fileExtension=".vcf" mimeType="text/plain" />
<mimeMap fileExtension=".vcard" mimeType="text/plain" />
newest rules
<mimeMap fileExtension=".vcf" mimeType="text/vcard" />
<mimeMap fileExtension=".vcard" mimeType="text/vcard" />
http://en.wikipedia.org/wiki/VCard
older
<mimeMap fileExtension=".vcf" mimeType="text/plain" />
<mimeMap fileExtension=".vcard" mimeType="text/plain" />
newest rules
<mimeMap fileExtension=".vcf" mimeType="text/vcard" />
<mimeMap fileExtension=".vcard" mimeType="text/vcard" />
http://en.wikipedia.org/wiki/VCard
ASKER
Hi thanks for the video, there was no sound though, do i delete it or edit it?
edit it.
No sound because I am deaf
No sound because I am deaf
ASKER
Amazing thank you so much, sorry was doing this late last night and did not see you had told me what to edit and how. Wish everyone one hear was as helpful.
Regards Craig
Regards Craig
ASKER