Partilhar via


Propriedade LocalReport.EnableHyperlinks

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

Namespace:  Microsoft.Reporting.WebForms
Assembly:  Microsoft.ReportViewer.WebForms (em Microsoft.ReportViewer.WebForms.dll)

Sintaxe

'Declaração
Public Property EnableHyperlinks As Boolean
public bool EnableHyperlinks { get; set; }
public:
property bool EnableHyperlinks {
    bool get ();
    void set (bool value);
}
member EnableHyperlinks : bool with get, set
function get EnableHyperlinks () : boolean
function set EnableHyperlinks (value : boolean)

Valor de propriedade

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

Comentários

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

Observação importanteImportante

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.

Consulte também

Referência

LocalReport Classe

Namespace Microsoft.Reporting.WebForms