Skip to main content
A newer version of this page is available. .
All docs
V21.1

DxDocumentViewerExportSettings.UseSameTab Property

Specifies whether the print and export operations are performed in the same browser tab as the Document Viewer control.

Namespace: DevExpress.Blazor.Reporting

Assembly: DevExpress.Blazor.Reporting.v21.1.JSBasedControls.dll

NuGet Package: DevExpress.Blazor.Reporting.JSBasedControls

Declaration

[Parameter]
public bool UseSameTab { get; set; }

Property Value

Type Description
Boolean

True to perform operations in the same tab; false to open another browser tab for print or export.

Remarks

If this option is set to true, the Export command creates and downloads the exported document in the same browser tab. The Print command creates a PDF document and opens the browser Print dialog. This dialog also allows the user to download the PDF file if the browser cannot print the document or the printout is incorrect.

The popup dialog contains texts localizable with the following localization strings:

Code Examples

<DxDocumentViewer ReportName=@ReportName Height="700px" CssClass="w-100">
    <DxDocumentViewerExportSettings UseSameTab="true"/>
</DxDocumentViewer>
See Also