You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+5-6
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
-
##How to Print and Export a Report in the ASP.NET Core Application without the Document Viewer
1
+
# How to Print and Export a Report in the ASP.NET Core Application without the Document Viewer
2
2
3
3
This example prints and exports a report in a browser without previewing it on a web page with a Document Viewer.
4
4
5
-
**Print**
5
+
## Print
6
6
7
7
On the **server side**, a controller performs the following actions:
8
8
-[creates a report](https://docs.devexpress.com/XtraReports/2440/get-started-with-devexpress-reporting/create-a-report-from-a-to-z);
@@ -17,11 +17,10 @@ Click a button to call the client-side `window.Open(url, "_blank")` method to op
17
17
* Print a report in iFrame.
18
18
Click a button to load a PDF file in the `HTMLIFrameElement` and print its content.
19
19
20
-
*NOTE: We don't recommend printing with an invisible iFrame element because not all browsers support it.*
20
+
*NOTE: Printing with an invisible iFrame element is not recommended because not all browsers support it.*
21
21
22
-
**Export**
22
+
## Export
23
23
24
24
The user selects the format and clicks a button to send the format to the server-side controller. The controller calls the export method for the selected format and sends the file back to the browser.
25
25
26
-
For more information review the following help topic:
For more information review the following help topic: [Export Reports](https://docs.devexpress.com/XtraReports/1302/detailed-guide-to-devexpress-reporting/store-and-distribute-reports/export-reports).
0 commit comments