Telerik Forums
Kendo UI for jQuery Forum
1 answer
81 views
I am trying to use kendo.drawing for PDF export, but it gives me that is undefined. So I suppose it's from my kendo version ? 
Nikolay
Telerik team
 answered on 02 Sep 2021
3 answers
56 views

Hi,

if you take your example : https://docs.telerik.com/kendo-ui/knowledge-base/drawing-draw-signature-and-export-svg

and that we change the type of surface to "canvas" (var surface = draw.Surface.create($("#surface"),{type : "canvas"});)

the "clear" button doesn't work.

Regards

Neli
Telerik team
 answered on 23 Apr 2021
10 answers
2.2K+ views

I need to capture a multi page form in pdf format and then save it to the server with the record and not to the client. This is the code I wrote that send it to the client, how can I modify it to send it to the server instead

 

root.options.set("pdf", {
multiPage: 'true'
});
$('#formContainer .appPage').each(function (section) {
kendo.drawing.drawDOM(this).then(function (group) {
group.options.set("pdf", {
margin: {
left: "1cm",
right: "1cm",
top: "1cm",
bottom: "1cm"
}
});
root.append(group);
});
});

kendo.drawing.pdf.saveAs(root, "App.pdf");

Charanpreet
Top achievements
Rank 1
Veteran
 answered on 17 Apr 2021
11 answers
907 views

Seems Kendo is still not able to export image/PDF with the background. Any idea about this?

Dojo is here:  http://dojo.telerik.com/@jcbowyer/exuZi

Dimitar
Telerik team
 answered on 13 Apr 2021
2 answers
230 views

Hello,

the following example renders a wrapped chart label using the drawing API:

https://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart/configuration/categoryaxis.labels#categoryaxislabelsvisual

 

Now, if you take this example (https://dojo.telerik.com/ERuyOquh),you can see that the texts are right-aligned. Is it possible to align these centered?

 

Kind regards.

Stefan
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 16 Oct 2020
5 answers
153 views

W

We are using drawDOM and exportPDF to generate pdf file for our ASP.net MVC page. However the Ordered list (OL tag) are not rendered correctly on the pdf, the number seems to skip (example 1,3,5 ... instead of 1,2,3,4,5) and also we noted that the alphabet/roman numbering are also not supported. This only happens when we are using Internet Explorer ver 11 and Edge ver 44.18362.449.0. Are there any work arounds or fixes for this issue? Your help is greatly appreciated.

 

kendo.drawing.drawDOM($(elementID))
            .then(function (group) {
                return kendo.drawing.exportPDF(group);
            })

 

Eyup
Telerik team
 answered on 07 Oct 2020
1 answer
224 views
I'm having problems when exporting value from textarea tag while on the iPad Safari. It overlaps some text but on the desktop and iPhone they work fine.
Nikolay
Telerik team
 answered on 06 Aug 2020
1 answer
44 views

Hi,

I using Kendo Jquery to export .pdf a content of div have fomat as bellow :

<div class ="row" id="exportpdf">

   <div class="col-6">

         <div id="grid1"></div>

   </div>

   <div class="col-6">

        <div id="grid2"></div>
   </div>

</div>

picture in attachment file.

How do export with this layout to .pdf.

Many thanks !

 

Petar
Telerik team
 answered on 04 Aug 2020
5 answers
604 views

I watched a demo on using Kendo UI for PDF export at http://www.telerik.com/campaigns/kendo-ui/devchat-jul18

The demo showed very good rendering of the page contents and then of a grid (using the toolbar item).  Alas, they did not show a combined export where a page contains many elements including a grid.

I am aware of the pageTemplate, but we need to export the page header, text, selections of drop lists, etc. along all rows in the grid.  We do this now with another tool that has very good fidelity but poor performance, especially on Azure where we were required to create a separate service for it (see attached).

We also use Telerik Reporting, so I know you have a great PDF engine.  My question is, is there a solution to rendering the page HTML and all of the grid?

Best,
Scott

Alex Hajigeorgieva
Telerik team
 answered on 20 Jul 2020
1 answer
35 views

I'm having a similar issue as reported here: https://www.telerik.com/forums/drawdom-with-cloned-chart-fails#ko3KfThygUiX9Q22tdM4ZQ

I'm trying to export a chart to a pdf document that also includes some text and a grid. In my case the chart is a bubble chart. When I export I am only getting one bubble to display on the chart in the pdf even though the rest of the bubbles are displayed on the screen. If I add a setTimeout(function() {// code to finish exporting},5000); to my code I can get it to work but I don't like the idea of relying on setTimeout. I tried using the "render" event but that also only gave me one bubble in the final printout. When I tried the dataBound event it never fired. How do I fix this?

Aleksandar
Telerik team
 answered on 15 Jul 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?