Convert Hyperlink to Label

Discussion in 'ASP .Net' started by Franz, Mar 21, 2006.

  1. Franz

    Franz Guest

    I have a dozen of hyperlinks. Some of them will become only a label under
    some conditions. That means users cannot press them to navigate other pages.

    What is the best methods to solve this?

    Thanks.
    Franz
    Franz, Mar 21, 2006
    #1
    1. Advertising

  2. If I recall correctly, setting the NavigateURL property to empty string will
    do this.

    "Franz" <> wrote in message
    news:...
    >I have a dozen of hyperlinks. Some of them will become only a label under
    >some conditions. That means users cannot press them to navigate other
    >pages.
    >
    > What is the best methods to solve this?
    >
    > Thanks.
    > Franz
    >
    Marina Levit [MVP], Mar 21, 2006
    #2
    1. Advertising

  3. Franz

    Jason Hales Guest

    You could also set Enabled=false so they can't navigate
    Jason Hales, Mar 21, 2006
    #3
  4. Franz

    Franz Guest

    Thanks.

    "Jason Hales" <> ¼¶¼g©ó¶l¥ó·s»D:...
    > You could also set Enabled=false so they can't navigate
    >
    Franz, Mar 21, 2006
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Shapper
    Replies:
    2
    Views:
    720
    Scott Mitchell [MVP]
    May 7, 2005
  2. Josef K.

    <label><div></div></label> allowed?

    Josef K., May 20, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    13,295
    Josef K.
    May 22, 2005
  3. Praveen
    Replies:
    1
    Views:
    939
    Rob Williscroft
    Nov 5, 2006
  4. CSharpner
    Replies:
    0
    Views:
    996
    CSharpner
    Apr 9, 2007
  5. Knut Krueger
    Replies:
    8
    Views:
    251
    Knut Krueger
    Aug 20, 2013
Loading...

Share This Page