Convert radgridview in pdf format
how to convert radgridview in pdf format ? using c# windows.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
K P Singh ChundawatRank #1,527 · 1K reputationPosted Jan 10, 2015, 7:41 AM EST
The PDF export functionality is located in the TelerikData.dll assembly. You need to include the following namespaces in order to access the types contained in TelerikData:
Telerik.WinControls.Data
Telerik.WinControls.UI.Export
And after it use followind code to export data
ExportToPDF _exporter = new ExportToPDF(this.radGridView1); _exporter .FileExtension = "pdf"; _exporter .ExportVisualSettings = true; _exporter .PageTitle = "Title"; _exporter .FitToPageWidth = true; _exporter .PdfExportSettings.PageHeight = your req height; _exporter .PdfExportSettings.PageWidth = your req width; ----------------------------------------------------------------------------------------------------------------- if this post is helpful then dont forget to mark it as "Accepted Answer". Thanks KP Singh