Iam Trying to Export my RadGrid to Pdf in the same CSS Style of the Grid…
here is my approach:
<ExportSettings IgnorePaging="true" OpenInNewWindow="true">
<Pdf PageHeight="162mm" PageWidth="600mm" PageTitle="Payment Orders" DefaultFontFamily="Arial Unicode MS" Title="Payment Orders"
PageBottomMargin="50mm" PageTopMargin="35mm" PageLeftMargin="150mm" PageRightMargin="50mm" Author="AbdanSoftware" PaperSize="A4" />
</ExportSettings>
Any way from Code-behing or ClientSide to do it..
You can set export settings for you RadGrid like so:
Edit: To include css in your export you can do so in the
HTMLExportingevent for Word and Excel formats. For PDF exporting only inline styles are applied.Take a look at this documentation for more help on Word/Excel export, and this documentation for PDF export help.