DocumentViewerReportViewerSettings.AllowURLsWithJSContent Property
Specifies whether or not the execution of JavaScript code placed in URLs is allowed.
Namespace: DevExpress.XtraReports.Web.DocumentViewer
Assembly: DevExpress.XtraReports.v24.1.Web.WebForms.dll
NuGet Package: DevExpress.Web.Reporting
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true to allow the execution of 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 |
|
ASP.NET MVC Extensions | DocumentViewerSettings |
|
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 makes executing queries from users viewing reports possible.
Enable the AllowURLsWithJSContent
setting when you need to insert JavaScript code into the URL.
See Also