This is a migrated thread and some comments may be shown as answers.

Telerik RADGrid Print

6 Answers 255 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 25 Mar 2012, 03:09 AM

Hi-

In our project we need to provide functionality to print the RAD Grid, the printed output should support the following features
 
1. Print all records, not just the first page ignoring Pagination
2. Print output should preserve and show the layout changes applied to grid i.e. If user has grouped the data by one or more columns print output should show the grouping
3.  Print output should not show the quick filters on the grid
4.  Add custom header and footer both of which would have dynamic contents including page number
5. At beginning of every printed page column headers of the grid should be displayed followed by data
6. Change the look and feel to be suitable for printing- Apply different CSS for printing
7. Have the option export the printed output to a PDF document

I would appreciate any help on solving these requirements.

Thanks,
Steve

6 Answers, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 29 Mar 2012, 08:17 AM
Hi Steve,

You can find answers to most of your questions in the export documentation (including styling the export output, removing uneeded content, export formats, etc):
http://www.telerik.com/help/aspnet-ajax/grid-export.html (also see the articles in the Export formats category which elaborate on the specifics of handling the different export formats)

You can also look through the exporting demos:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/pdfexport/defaultcs.aspx

Check these resources and let us know if you still have any questions.

Regards,
Tsvetina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Chrys
Top achievements
Rank 1
answered on 28 Feb 2014, 10:18 PM
Is there a way to render as pdf without saving it to the user machine first.
0
Kostadin
Telerik team
answered on 05 Mar 2014, 03:22 PM
Hello Chrys,

Could you please elaborate a little bit more on the scenario which you are trying to achieve. If you need to get the rendered out put you could hook OnPdfExporting event handler and get the RawHtml from the event arguments. If that is not your requirement, I would appreciate if you could provide more detailed information in order to help you further.

Regards,
Kostadin
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

0
Chrys
Top achievements
Rank 1
answered on 05 Mar 2014, 03:32 PM
Basically instead of saving as a pdf. Showing it in a pdf viewer instead of saving it first. Like can be done with reporting services and pdfsharp.
0
Kostadin
Telerik team
answered on 10 Mar 2014, 09:42 AM
Hello Chrys,

By default, the exported file will be handled by the program associated with the appropriate file type. Nevertheless if you enable the OpenInNewWindow property it will display a message which allows you to save, open or cancel the export. Please make sure you have disable this property in your project.

Regards,
Kostadin
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

0
Asutosh
Top achievements
Rank 1
answered on 10 Jul 2014, 10:49 AM
hi
i want to know that what exactly  this return
 grdviewid.GetType()
thanks
Tags
Grid
Asked by
Steve
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Chrys
Top achievements
Rank 1
Kostadin
Telerik team
Asutosh
Top achievements
Rank 1
Share this question
or