Skip to main content
All docs
V25.1
  • DxDocumentViewerBase.AllowURLsWithJSContent Property

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

    Assembly: DevExpress.Blazor.Reporting.v25.1.JSBasedControls.Common.dll

    NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls.Common

    Declaration

    [Parameter]
    public bool AllowURLsWithJSContent { get; set; }

    Property Value

    Type Description
    Boolean

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

    Remarks

    The default value is false.

    See Also