Skip to content

Commit b00f824

Browse files
committed
Add new RadGrid Print topic
1 parent ac2a513 commit b00f824

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed
27.6 KB
Loading
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Print
3+
page_title: Print | RadGrid for ASP.NET AJAX Documentation
4+
description: Print
5+
slug: grid/functionality/printing/printing
6+
tags: print
7+
published: True
8+
position: 1
9+
---
10+
11+
# Print
12+
13+
Since R2 2016 release of the **Telerik.Web.UI for ASP .NET AJAX** the RadGrid control provides a new built in **print** feature for lightweight and mobile render modes. By using the print functionality, a PDF document is generated and sent to the browser for printing, which allows the control to preserve its appearance (including built-in skins and custom styles). You can add the built in print button by setting the **ShowPrintButton** property to "true" under **CommandItemSettings**, which will render it in the command item.
14+
15+
![Print Button](images/grid_PrintButton.png)
16+
17+
In case the PrintButton is hidden you can still use the client print functionality by call the public **print()** method for the RadGrid control
18+
19+
````JavaScript
20+
21+
$find(“RadGrid1”).print();
22+
23+
````
24+
Note that in order for the output to be precise, and for Unicode support, you must declare TrueType fonts explicitly.
25+
26+
>Note that for IE the browser’s popups should be always enabled to have the print functionality properly works.
27+
>
28+
29+
## See Also
30+
31+
* [Demo: RadGrid Print](http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/printing/defaultcs.aspx?isNew=true)

0 commit comments

Comments
 (0)