Skip to main content
A newer version of this page is available. .

DocumentViewerReportViewerSettings.AllowURLsWithJSContent Property

Specifies whether or not the execution of the JavaScript code placed in URLs is allowed.

Namespace: DevExpress.XtraReports.Web.DocumentViewer

Assembly: DevExpress.XtraReports.v18.2.Web.WebForms.dll

Declaration

[DefaultValue(false)]
public bool AllowURLsWithJSContent { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to allow the execution of the JavaScript code placed in URLs; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowURLsWithJSContent
Reporting ASPxDocumentViewer
.SettingsReportViewer.AllowURLsWithJSContent
ASP.NET Web Forms Controls DocumentViewerSettings
.SettingsReportViewer.AllowURLsWithJSContent
MVCxDocumentViewer
.SettingsReportViewer.AllowURLsWithJSContent

Remarks

By default, the execution of the JavaScript code placed in URLs is prohibited, since this behavior creates the possibility of a phishing attack and for executing queries from users viewing reports.

If required, you can allow inserting the JavaScript code to URLs by enabling the AllowURLsWithJSContent property.

See Also