This is a migrated thread and some comments may be shown as answers.

URL within contenttext

1 Answer 94 Views
DesktopAlert
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 15 Jan 2011, 07:54 AM
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...

1 Answer, 1 is accepted

Sort by
0
Accepted
Richard Slade
Top achievements
Rank 2
answered on 15 Jan 2011, 12:04 PM
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
Richard
Tags
DesktopAlert
Asked by
John
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Share this question
or