ReportViewer.Hyperlink Event

Occurs when a user clicks a hyperlink in a report.

Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in microsoft.reportviewer.winforms.dll)

Syntax

'Declaration
Public Event Hyperlink As HyperlinkEventHandler
'Usage
Dim instance As ReportViewer
Dim handler As HyperlinkEventHandler

AddHandler instance.Hyperlink, handler
public event HyperlinkEventHandler Hyperlink
public:
event HyperlinkEventHandler^ Hyperlink {
    void add (HyperlinkEventHandler^ value);
    void remove (HyperlinkEventHandler^ value);
}
/** @event */
public void add_Hyperlink (HyperlinkEventHandler value)

/** @event */
public void remove_Hyperlink (HyperlinkEventHandler value)
JScript supports the use of events, but not the declaration of new ones.

Remarks

This event occurs when a user clicks a hyperlink in a report, before the hyperlink is followed. Information about this event is passed in a HyperlinkEventArgs object to the HyperlinkEventHandler delegate, which handles the event.

For more information about handling events, see Consuming Events.

See Also

Reference

ReportViewer Class
ReportViewer Members
Microsoft.Reporting.WinForms Namespace