CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Hyperlink Text

  1. #1
    Join Date
    Aug 2004
    Posts
    24

    Hyperlink Text

    Is there a way to hyperlink the text wherever URL address is found.

    Like e.g. somebody typed

    Please go visit the http://www.yahoo.com for weather information.

    Now, I would like to hyperlink just the URL address of "http://www.yahoo.com" in ASP.Net (C#).

    Thanks in Advance
    M

  2. #2
    Join Date
    Aug 2004
    Posts
    24

    Re: Hyperlink Text

    I figured it out.

    Looks like there is no built in C# function that look for all URL and put hyperlink on it.

    I compare the text from the database with regular expression and put the link on it.

    If I have any problem, I will be back.

    Somebody need code, I will paste it later.

    M

  3. #3
    Join Date
    Apr 2002
    Location
    Egypt
    Posts
    2,210

    Re: Hyperlink Text

    Hesham A. Amin
    My blog , Articles


    <a rel=https://twitter.com/HeshamAmin" border="0" /> @HeshamAmin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured