Thank you very much for sharing your code. Now I understand why the issue occurs.
The current code uses the kendo.saveAs()
method which does not have a callback while this thread is focused on the kendo.drawing.pdf.saveAs()
method. To implement it in your code, you should replace the logic where the DOM is exported to PDF because the drawing method works with drawing groups, not dataURIs:
Naturally, you may use the callback to execute the extra logic which shows/hides elements etc.
Let me know if you have further questions or concerns.
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.