Back to Devexpress

DxReportViewer.AllowURLsWithJSContent Property

xtrareports-devexpress-dot-blazor-dot-reporting-dot-dxreportviewer-9b7f3dd0.md

latest2.1 KB
Original Source

DxReportViewer.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-RELATED CONSIDERATIONS

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.Blazor.Reporting

Assembly : DevExpress.Blazor.Reporting.v25.2.Viewer.dll

NuGet Package : DevExpress.Blazor.Reporting.Viewer

Declaration

csharp
[Obsolete("This property is now obsolete and has no effect. Review the following document for more information: https://go.devexpress.com/UnsafeUri.aspx")]
[Parameter]
public bool AllowURLsWithJSContent { get; set; }
vb
<Obsolete("This property is now obsolete and has no effect. Review the following document for more information: https://go.devexpress.com/UnsafeUri.aspx")>
<Parameter>
Public Property AllowURLsWithJSContent As Boolean

Property Value

TypeDescription
Boolean

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

|

Remarks

The default value is false.

See Also

DxReportViewer Class

DxReportViewer Members

DevExpress.Blazor.Reporting Namespace