HyperLinkFields in GridView

S

SimonG

Hi everyone

Is it possible to use a URL of the form file:// in a HyperLinkField?

I can get it to work no problem when my source data field contains "http://"
references, but if the start of the string is "file://" I don't get the link
created properly.

Is there any way around this, or is it just assumed that HyperLinkFields are
always formed for the http protocol?

Many thanks

Simon
 
E

Evertjan.

=?Utf-8?B?U2ltb25H?= wrote on 09 okt 2009 in
microsoft.public.inetserver.asp.general:
Is it possible to use a URL of the form file:// in a HyperLinkField?

I can get it to work no problem when my source data field contains
"http://" references, but if the start of the string is "file://" I
don't get the link created properly.

Is there any way around this, or is it just assumed that
HyperLinkFields are always formed for the http protocol?

You mean:

<a href = '....'

That is clientside and only html, so of topic in this classic ASP NG.
 
B

Bob Barrows

SimonG said:
Hi everyone

Is it possible to use a URL of the form file:// in a HyperLinkField?
There was no way for you to know it (except maybe by browsing through
some of the previous questions before posting yours - always a
recommended practice), but this is a classic (COM-based) asp newsgroup.
ASP.Net is a different technology from classic ASP. While you may be
lucky enough to find a dotnet-savvy person here who can answer your
question, you can eliminate the luck factor by posting your question to
a newsgroup where the dotnet-savvy people hang out. I suggest

microsoft.public.dotnet.framework.aspnet.

There are also forums at www.asp.net where you can find a lot of people
to help you.
 
S

SimonG

Ah, apologies to all, and thanks for the pointer of where best to post.

Will follow your advice in the future! :)

thanks

Simon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top