Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146373 | Aug 1,2019 06:42 PM UTC | Aug 5,2019 04:18 AM UTC | ASP.NET MVC - EJ 2 | 5 |
![]() |
Tags: Diagram |
Query |
Response |
Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. What would cause this?
If the images are not loaded or not loading at all, export works. If the images load, even partially, the export breaks. |
The image either should be hosted in an application or it should in same domain, so only the image will be exported. It is an behavior of JavaScript. Please refer to our help documentation.
Help documentation: https://ej2.syncfusion.com/aspnetmvc/documentation/diagram/shapes/?no-cache=1#image
We have created a sample in which we have rendered an layout sample. The image rendered in layout is hosted in the application.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/orgchartsamplemodified-2059214017
|
Query |
Response |
Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. What would cause this?
If the images are not loaded or not loading at all, export works. If the images load, even partially, the export breaks. |
The image either should be hosted in an application or it should in same domain, so only the image will be exported. It is an behavior of JavaScript. Please refer to our help documentation.
Help documentation: https://ej2.syncfusion.com/aspnetmvc/documentation/diagram/shapes/?no-cache=1#image
We have created a sample in which we have rendered an layout sample. The image rendered in layout is hosted in the application.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/orgchartsample1modified1490125056
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.