ActiveReports6 Assembly > DataDynamics.ActiveReports Namespace > TextBox Class : HyperLink Property |
Hyperlinks can be used in the viewer control to allow users to link to a bookmark in the report "toc://bookmark" or to a properly formatted internet target location (http, ftp, etc).
Clicking a hyperlink in the viewer control raises the HyperLink event.
Note: When using the HtmlViewer, the RawHtml, the Flash Viewer or the Silverlight Viewer to display a report, you should indicate the full URL address (for example, "http://www.datadynamics.com") for this property.
private void detail_Format(object sender, System.EventArgs eArgs) { this.textBox1.HyperLink = "mailto:support@company.com"; this.textBox1.Text = "Email support."; }
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.TextBox1.HyperLink = "mailto:support@company.com" Me.TextBox1.Text = "Email support." End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2