The requested page is not available for the requested platform. You are viewing the content for Default platform.

ASPxWebDocumentViewer.AllowURLsWithJSContent Property

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

Namespace: DevExpress.XtraReports.Web

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

Declaration

[DefaultValue(false)]
public bool AllowURLsWithJSContent { get; set; }
<DefaultValue(False)>
Public Property AllowURLsWithJSContent As Boolean

Property Value

Type Default Description
Boolean

false

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

Remarks

By default, in the ASPxWebDocumentViewer, 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