Pawel
asked on 09 Aug 2023, 12:18 PM
| edited on 09 Aug 2023, 12:25 PM
How do I parse an 'a href' tag in RadDesktopAlert content so that, after clicking the link, the page will open?
Br
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 09 Aug 2023, 12:28 PM
Hi, Pawel,
You can use the HTML-like text formatting functionality and show a hyperlink which out of the box opens the page in the browser after clicking. I have prepared a sample code snippet for your reference:
this.radDesktopAlert1.CaptionText = "New E-mail Notification";
this.radDesktopAlert1.ContentText = "<html><size=12><a href=www.telerik.com>Telerik</a>";
this.radDesktopAlert1.Show();
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
The page is opened as expected on my end. Please refer to the attached gif file illustrating the behavior on my end with the specified version. I have attached my sample project. Please give it a try and see how it works on your end. Am I missing something? Could you please specify the exact steps how to reproduce the problem?