Udostępnij za pośrednictwem


LocalReport.EnableHyperlinks Property

Indicates whether the report can be rendered if it contains hyperlink actions.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
<CategoryAttribute("Security")> _
<NotifyParentPropertyAttribute(True)> _
<DefaultValueAttribute(False)> _
Public Property EnableHyperlinks As Boolean
'Usage
Dim instance As LocalReport
Dim value As Boolean

value = instance.EnableHyperlinks

instance.EnableHyperlinks = value
[CategoryAttribute("Security")] 
[NotifyParentPropertyAttribute(true)] 
[DefaultValueAttribute(false)] 
public bool EnableHyperlinks { get; set; }
[CategoryAttribute(L"Security")] 
[NotifyParentPropertyAttribute(true)] 
[DefaultValueAttribute(false)] 
public:
property bool EnableHyperlinks {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_EnableHyperlinks ()

/** @property */
public void set_EnableHyperlinks (boolean value)
public function get EnableHyperlinks () : boolean

public function set EnableHyperlinks (value : boolean)

Property Value

A Boolean value. A value of true indicates that the report can be rendered if it contains hyperlink actions. The default value is false.

Remarks

If this property is set to false, then attempting to render a report that has external images will result in a ReportSecurityException.

Important

Local reports that contain hyperlinks are not allowed to execute by default. Setting this property to true will enable local reports with hyperlinks to execute. This can be a security risk.  You should not enable this property on non-trusted reports.

See Also

Reference

LocalReport Class
LocalReport Members
Microsoft.Reporting.WebForms Namespace