This is a migrated thread and some comments may be shown as answers.

export entire div tag

3 Answers 12 Views
Drawing API
This is a migrated thread and some comments may be shown as answers.
George
Top achievements
Rank 1
George asked on 18 Nov 2019, 04:30 PM
I'm using a modal that is uses a div tag and the div tag can scroll. Is it possible to export the entire div tag and not what is only being shown to the user? Right now, it only exports what is on the screen

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 20 Nov 2019, 09:33 AM

Hello George,

Here's a dojo example that shows a similar scenario. A div that is higher than the modal window. Only part of the content is displayed and the rest can be seen by scrolling. However, all the content is exported to the PDF file, not only the visible part. Could you modify the example accordingly so that it demonstrates the issue?

Regards,
Ivan Danchev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
George
Top achievements
Rank 1
answered on 20 Nov 2019, 04:44 PM
Once you move the export button outside of the div tag, it fails. I don't want the div tag in the div tag with the content I want to export out. I have several buttons on the bottom of the dialog and will call the function from there, not within the div to export
0
Ivan Danchev
Telerik team
answered on 22 Nov 2019, 03:31 PM

George,

Here's a updated example with the Window replaced by a modal Dialog that has buttons at the bottom and outside of the exported content. Once again all of the content is exported.

Regards,
Ivan Danchev
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Drawing API
Asked by
George
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
George
Top achievements
Rank 1
Share this question
or