i am trying to export multiple radgrid and radhtmlchart to multiple pdf pages. i am able to export but content on aspx page is very big on pdf file. the contents are getting cut and only left most part is partially printed. how can i make contents in my webform (aspx) get printed as is to pdf with same size.
page break is working fine, but the content is getting exported so big that only left more content is printed little.
i have followed the below links but no use:
10 Answers, 1 is accepted
The ClientExportManager is based on the Kendo Drawing API library and both do support inches and mm values as explained in Configuration.
Regardless of the selected metric type the rendered content in the PDF will be a bit bigger. You can test for example this demo - Export Whole Pages and see the differences in this screenshot.
Since the exported text and shapes will be always bigger in the PDF, you may want to use the .k-pdf-export class which is applied only to the exported content and apply a bit smaller fonts than the ones applied in the HTML/aspx page. For more details check this page: Change the Exported Content before Export.
The ClientExportManager uses typographic points unit. The size of the content in pixels matches the size of the output in points (1 pixel = 1/72 inch). This is explained in the PDF Options article -> paperSize setting.
This article could be also helpful Dimensions and CSS Units.
.k-pdf-export is helpful but making two divs side by side. show radgrid in 1st div and radhtmlchart in 2nd div is very difficult
it is not simple and straight. can anyone help me with some code to implement above mentioned requirement.
Please find an example of how to export two divs placed one by one with a chart and a grid inside them in two subsequent pdf pages:
thank you, very nice example.
1. from here the problem starts. can't show simple chart / table covering entire page to manager. I want both both line chart and radgrid in singe sheet of pdf. and values in radtable should not overlap, width of each column should properly display values in radgrid. I am using k-pdf-export to set the width of column in radgrid which radgrid is not accepting.
2. my radgrid data is has many rows. table is not continuing to next page. radgrid is print partically in only one sheet
printing 10 rows from radgrid works fine, try printing all 70 rows or 200 rows to pdf and see. complete grid is not printed at all.
If the problem happens in Chrome than it could be due to the size of the markup.
Try registering the pako.js library on the page:
<!-- Load Pako ZLIB library to enable PDF compression -->