Skip to content

Conversation

@IvetNikolova
Copy link
Contributor

…or.md

@@ -24,13 +24,152 @@ When I try to print a report using any of the [HTML5-based Report Viewers]({%slu

Copy link
Collaborator

@yordan-mitev yordan-mitev Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KB articles of type "Troubleshooting" must also explain the cause when it is known. As you provide two solutions, I guess you know the cause and can describe it here. See Troubleshooting Scenarios and the Troubleshooting KB template.


## Solution

### For a Browser
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Make sure that both headings have an identical grammatical structure, as currently they aren't parallel.
  • For a better form, list the two solutions under the ## Solutions heading and link each of them to its section.
Suggested change
### For a Browser
You can resolve the problem in either of the following ways:
* [By configuring the browser](#configuring-the-browser)
* [By creating an Endpoint](#creating-an-endpoint)
### Configuring the Browser


![Image displaying the PDF Document settings view in the Microsoft Edge browser](images/browser-pdfsettings.png)

### By Creating an Endpoint
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### By Creating an Endpoint
### Creating an Endpoint


### By Creating an Endpoint

Use the [printBegin(e, args)]({%slug telerikreporting/using-reports-in-applications/display-reports-in-applications/web-application/html5-report-viewer/api-reference/reportviewer/events/printbegin(e,-args)%}) event to manually handle scenarios where the user has configured their PDF document settings to Download PDFs.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Use the [printBegin(e, args)]({%slug telerikreporting/using-reports-in-applications/display-reports-in-applications/web-application/html5-report-viewer/api-reference/reportviewer/events/printbegin(e,-args)%}) event to manually handle scenarios where the user has configured their PDF document settings to Download PDFs.
Use the [`printBegin(e, args)`]({%slug telerikreporting/using-reports-in-applications/display-reports-in-applications/web-application/html5-report-viewer/api-reference/reportviewer/events/printbegin(e,-args)%}) event to manually handle scenarios where the user has configured the browser's PDF document settings to download PDFs.


Use the [printBegin(e, args)]({%slug telerikreporting/using-reports-in-applications/display-reports-in-applications/web-application/html5-report-viewer/api-reference/reportviewer/events/printbegin(e,-args)%}) event to manually handle scenarios where the user has configured their PDF document settings to Download PDFs.

There is no direct JavaScript API to check this setting. However, the [navigator.pdfViewerEnabled](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/pdfViewerEnabled) property toggles between true and false when the setting changes. To handle scenarios where the PDF viewer is disabled, you can create a custom endpoint for rendering reports as PDFs, following the approach described in the [Exporting a report to PDF Programmatically]({%slug exporting-a-report-to-pdf-programmatically%}) article in Telerik Reporting. This endpoint is invoked manually whenever the PDF viewer is disabled.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
There is no direct JavaScript API to check this setting. However, the [navigator.pdfViewerEnabled](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/pdfViewerEnabled) property toggles between true and false when the setting changes. To handle scenarios where the PDF viewer is disabled, you can create a custom endpoint for rendering reports as PDFs, following the approach described in the [Exporting a report to PDF Programmatically]({%slug exporting-a-report-to-pdf-programmatically%}) article in Telerik Reporting. This endpoint is invoked manually whenever the PDF viewer is disabled.
There is no direct JavaScript API to control this setting. However, the [`navigator.pdfViewerEnabled`](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/pdfViewerEnabled) property toggles between `true` and `false` when the setting changes. To handle scenarios where the PDF viewer is disabled, you can create a custom endpoint for rendering reports as PDFs, following the approach described in the [Exporting a report to PDF Programmatically]({%slug exporting-a-report-to-pdf-programmatically%}) article in Telerik Reporting. This endpoint is invoked manually whenever the PDF viewer is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants