WebDocumentViewerBuilder.AllowUrlWithJsContent(Boolean) Method
OBSOLETE
This method 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.
Sets whether the execution of the JavaScript code placed in URLs is allowed.
Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer
Assembly: DevExpress.AspNetCore.Reporting.v25.1.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
[Obsolete("This method is now obsolete and has no effect. Review the following document for more information: https://go.devexpress.com/UnsafeUri.aspx")]
public WebDocumentViewerBuilder AllowUrlWithJsContent(
bool ignored
)
Parameters
| Name | Type | Description |
|---|---|---|
| ignored | Boolean |
|
Returns
| Type | Description |
|---|---|
| WebDocumentViewerBuilder | A WebDocumentViewerBuilder that can be used to further configure the Document Viewer. |