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

WebDocumentViewerBuilder.AllowUrlWithJsContent(Boolean) Method

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

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

Assembly: DevExpress.AspNetCore.Reporting.v18.2.dll

Declaration

public WebDocumentViewerBuilder AllowUrlWithJsContent(
    bool allowUrlWithJsContent
)
Public Function AllowUrlWithJsContent(
    allowUrlWithJsContent As Boolean
) As WebDocumentViewerBuilder

Parameters

Name Type Description
allowUrlWithJsContent Boolean

true, if the JavaScript code can be inserted in URLs; otherwise, false.

Returns

Type Description
WebDocumentViewerBuilder

A WebDocumentViewerBuilder that can be used to further configure the Document Viewer.

Remarks

By default, AllowUrlWithJsContent is set to false.

See Also