Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.AspNetCore.Reporting

#Declaration

public WebDocumentViewerBuilder AllowUrlWithJsContent(
    bool allowUrlWithJsContent
)

#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