URL within contenttext

2 posts, 1 answers
  1. John
    John avatar
    40 posts
    Member since:
    Jun 2010

    Posted 15 Jan 2011 Link to this post

    I have a url link within the content text that is in an anchor tag.

    So for example my contenttext is

    Click on <a href='http://localhost/TestApp/Common/Test.aspx' target='_blank'>link</a>

    then clicking on the link does not open the expected page....

    IS ther any way to create this functionality through the alert...
  2. Answer
    Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 15 Jan 2011 Link to this post

    Hello John,

    To add a link to to a desktop alert, please consider the following code
    Me.RadDesktopAlert1.CaptionText = "My Header"
    Me.RadDesktopAlert1.ContentText = "<html>this is a link to <a href=""http://www.telerik.com"">Telerik</a></html>"

    To find out more about HTML like formatting in RadControls, follow this link

    Hope that helps
Back to Top