How do I embed a hyperlink in the RichText control?

Posted by: jmcgrath-dd on 4 August 2017, 5:42 am EST

  • Posted 4 August 2017, 5:42 am EST

    I am trying to programatically embed an email hyperlink in the text of the RichText control in the report_detail section of a report.  Here is what the code looks like:

    RichTextNotice.Text = "e-mail us at <a href=mailto:" & CompanyEmail & ">" & CompanyEmail & "</a>." & " Please feel free to contact us if you have any questions."



    The report is being run as a PDF.  When the report displays, the email link does not appear as Company@xyz.com .  Instead it displays as

    <a href=mailto: Company@xyz.com Company@xyz.com </a > (without the underline).



    Is there anyway to accomplish this?



    Thanks!

  • Posted 4 August 2017, 5:42 am EST - Updated 15 February 2023, 1:49 am EST

    According to the Help system you can use the hyperlink property of a control to do a mailto. So I would personally use a label or textbox control, set the font (blue underlined), the text (email addy), and the hyperlink property, ( mailto://company@xyz.com).



    http://www.datadynamics.com/Help/AR2/AR2Std/HX_Using_Hyperlinks.html

  • Posted 20 November 2018, 10:21 pm EST

    If you want to send a hyperlink first click a right and select Hyperlink from the menu and then go to the insert tab and select hyperlink and at the last press ctrl+ K and It’s done. If anyone facing an issue with email and have any query related to this then take help from https://www.emailcustomercareservice.com/blog/tag/oops-a-server-error-occurred-and-your-email-was-not-sent-007/

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels