HyperLinkFields in GridView

Discussion in 'ASP General' started by SimonG, Oct 9, 2009.

  1. SimonG

    SimonG Guest

    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

    SimonG, Oct 9, 2009
    1. Advertisements

  2. SimonG

    Evertjan. Guest

    =?Utf-8?B?U2ltb25H?= wrote on 09 okt 2009 in
    You mean:

    <a href = '....'

    That is clientside and only html, so of topic in this classic ASP NG.
    Evertjan., Oct 9, 2009
    1. Advertisements

  3. SimonG

    Bob Barrows Guest

    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


    There are also forums at www.asp.net where you can find a lot of people
    to help you.
    Bob Barrows, Oct 9, 2009
  4. SimonG

    SimonG Guest

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

    Will follow your advice in the future! :)


    SimonG, Oct 12, 2009
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.
Similar Threads
There are no similar threads yet.