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

IWebDocumentViewerAuthorizationService.CanCreateReport() Method

Specifies whether report creation in the viewer’s internal storage is permitted.

Namespace: DevExpress.XtraReports.Web.WebDocumentViewer

Assembly: DevExpress.XtraReports.v24.2.Web.dll

NuGet Package: DevExpress.Web.Reporting.Common

#Declaration

bool CanCreateReport()

#Returns

Type Description
Boolean

true, if report creation is permitted; otherwise, false.

#Remarks

Verifies whether the user can create a report in the viewer’s internal storage. If this method returns false, the Document Viewer fails on start. Implement this method to restrict users from previewing a report in the Report Designer.

See Also