WebDocumentViewerBuilder.AllowUrlWithJsContent(Boolean) Method
In This Article
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
public WebDocumentViewerBuilder AllowUrlWithJsContent(
bool allowUrlWithJsContent
)
#Parameters
Name | Type | Description |
---|---|---|
allow |
Boolean |
|
#Returns
Type | Description |
---|---|
Web |
A Web |
#Remarks
By default, AllowUrlWithJsContent is set to false.
See Also