ActiveReports 8
HyperLink Property
See Also  Example
GrapeCity.ActiveReports.v8 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > Label Class : HyperLink Property

Glossary Item Box

Gets or sets a URL address that can be used in the viewer's HyperLink event to navigate to the specified location.  The URL is automatically converted into an anchor tag or a hyperlink in HTML and PDF exports.

Syntax

Visual Basic (Declaration) 
Public Property HyperLink As System.String
C# 
public System.string HyperLink {get; set;}

Remarks

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.grapecity.com") for this property.

Example

C#Copy Code
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.label1.HyperLink = "mailto:support@company.com";
}
Visual BasicCopy Code
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Label1.HyperLink = "mailto:support@company.com"
End Sub

Requirements

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

See Also

Reference

Label Class
Label Members
HyperLinkEventArgs