Skip to main content

ASPxWebDocumentViewer.AllowURLsWithJSContent Property

OBSOLETE

This property is now obsolete and has no effect. Review the following document for more information: https://go.devexpress.com/UnsafeUri.aspx

SECURITY NOTE

Setting this property to true may introduce security-related issues because report scripts are not secure. Review the following topic to learn how to protect websites from cross-site scripting (XSS) attacks: Scripts Security.

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

Namespace: DevExpress.XtraReports.Web

Assembly: DevExpress.XtraReports.v25.1.Web.WebForms.dll

NuGet Package: DevExpress.Web.Reporting

Declaration

[DefaultValue(false)]
[Obsolete("This property is now obsolete and has no effect. Review the following document for more information: https://go.devexpress.com/UnsafeUri.aspx")]
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.

See Also