Article relates to
Printing RadGridView via Telerik Reporting
Last modified by
Generate a report based on RadGridView, and using the export capabilities of Telerik Reporting.
In this code library article could be found a simple class that allows to easily export a single-level hierarchy RadGridView in a Telerik Reporting report. This report can then be printed or exported in a variety of formats.
You can use the properties below to control the appearance of the report.
Int AllMargins – Set all paper margins in millimeters
Int BottomMargin – Set bottom margin in millimeters
Int TopMargin – Set top margin in millimeters
Int LeftMargin – Set left margin in millimeters
Int RightMargin – Set right margin in millimeters
bool FitToPageSize – Controls whether report table is fit to page size
bool PageLandScape – Controls orientation of the report on the page
PaperKind PaperKind – Set paper type (A4, A3 etc.)
bool RepeatTableHeader – Controls whether the table header is repeated on each page
string ReportName – Set report name
size ReportSize – Set report size
FormWindowState ReportWindowState – Set report form window state
bool UseGridColors – Controls whether the report uses the header colors from RadGridView RadGridReport(string reportName) – Create a new instance of the class
ReportFormShow(IWin32Window owner, RadGridView radGridView) - generate and show the report. SOLUTION
Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.